LLMStreamingFailedEvent
data class LLMStreamingFailedEvent(val eventId: String, val executionInfo: AgentExecutionInfo, val runId: String, val prompt: Prompt, val model: ModelInfo, val error: AIAgentError, val timestamp: Long = Clock.System.now().toEpochMilliseconds()) : DefinedFeatureEvent(source)
Represents an event indicating a failure in the streaming process of a Language Learning Model (LLM).
This event captures details of the failure encountered during the streaming operation. It includes information such as the unique identifier of the operation run, a detailed error description, and inherits common properties such as event ID and timestamp.
Constructors
Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, runId: String, prompt: Prompt, model: ModelInfo, error: AIAgentError, timestamp: Long = Clock.System.now().toEpochMilliseconds())
constructor(runId: String, error: AIAgentError, timestamp: Long = Clock.System.now().toEpochMilliseconds())
Properties
Link copied to clipboard
An instance of AIAgentError, containing information about the error encountered, including its message, stack trace, and cause, if available;
Link copied to clipboard
Provides contextual information about the execution associated with this event.
Link copied to clipboard
Specifies the type of the feature message for this event.