LLMStreamingFrameReceivedEvent
data class LLMStreamingFrameReceivedEvent(val eventId: String, val executionInfo: AgentExecutionInfo, val runId: String, val prompt: Prompt, val model: ModelInfo, val frame: StreamFrame, val timestamp: Long = Clock.System.now().toEpochMilliseconds()) : DefinedFeatureEvent(source)
Event representing the receipt of a streaming frame from a Language Learning Model (LLM).
This event occurs as part of the streaming interaction with the LLM, where individual frames of data are sent incrementally. The event contains details about the specific frame received, as well as metadata related to the event's timing and identity.
Constructors
Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, runId: String, prompt: Prompt, model: ModelInfo, frame: StreamFrame, timestamp: Long = Clock.System.now().toEpochMilliseconds())
constructor(runId: String, frame: StreamFrame, timestamp: Long = Clock.System.now().toEpochMilliseconds())
Properties
Link copied to clipboard
Provides contextual information about the execution associated with this event.
Link copied to clipboard
The frame data received as part of the streaming response. This can include textual content, tool invocations, or signaling the end of the stream;
Link copied to clipboard
Specifies the type of the feature message for this event.