Table of Contents

Class StreamingContent

Namespace
Mythosia.AI.Models.Streaming
Assembly
Mythosia.AI.Abstractions.dll
public class StreamingContent
Inheritance
StreamingContent
Inherited Members

Properties

Content

The actual text content being streamed

public string? Content { get; set; }

Property Value

string

IsFinalRound

True when this event describes the final LLM round in the current stream.

public bool IsFinalRound { get; set; }

Property Value

bool

Metadata

Additional metadata about the stream

public Dictionary<string, object>? Metadata { get; set; }

Property Value

Dictionary<string, object>

RoundIndex

One-based LLM round index for round-scoped events.

public int? RoundIndex { get; set; }

Property Value

int?

Type

Type of the streaming content

public StreamingContentType Type { get; set; }

Property Value

StreamingContentType

Usage

Token usage information (always populated when the provider returns usage data)

public TokenUsage? Usage { get; set; }

Property Value

TokenUsage