Table of Contents

Constructor AgentStreamToken

Namespace
LMKit.Agents.Streaming
Assembly
LM-Kit.NET.dll

AgentStreamToken(string, AgentStreamTokenType, string, int, bool, IReadOnlyDictionary<string, object>)

Initializes a new instance of the AgentStreamToken class.

public AgentStreamToken(string text, AgentStreamTokenType type, string cumulativeText, int index, bool isFinal = false, IReadOnlyDictionary<string, object> metadata = null)

Parameters

text string
type AgentStreamTokenType
cumulativeText string
index int
isFinal bool
metadata IReadOnlyDictionary<string, object>