StreamFrame
Represents a frame of a streaming response from a LLM.
Inheritors
Types
Link copied to clipboard
Represents a frame of a streaming response from a LLM that appends some text.
Link copied to clipboard
data class End(val finishReason: String? = null, val metaInfo: ResponseMetaInfo = ResponseMetaInfo.Empty) : StreamFrame
Represents a frame of a streaming response from a LLM that signals the end of the stream.
Link copied to clipboard
Represents a frame of a streaming response from a LLM that contains a tool call.