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

Metadata

Additional metadata about the stream

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

Property Value

Dictionary<string, object>

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