Table of Contents

Class StreamingContent

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

Constructors

StreamingContent()

public StreamingContent()

Properties

Content

The actual text content being streamed

public string? Content { get; set; }

Property Value

string

FunctionCall

Typed function call associated with this event, when applicable.

public FunctionCall? FunctionCall { get; set; }

Property Value

FunctionCall

FunctionCallBatchId

Identifies all calls and results that belong to the same assistant turn.

public string? FunctionCallBatchId { get; set; }

Property Value

string

FunctionResult

Typed function result associated with this event, when applicable.

public FunctionCallResult? FunctionResult { get; set; }

Property Value

FunctionCallResult

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