LLMStreamingCompletedEvent

data class LLMStreamingCompletedEvent(val runId: String, val prompt: Prompt, val model: String, val tools: List<String>, val timestamp: Long = Clock.System.now().toEpochMilliseconds()) : DefinedFeatureEvent(source)

Represents an event that occurs when the streaming process of a Large Language Model (LLM) call is completed.

Constructors

Link copied to clipboard
constructor(runId: String, prompt: Prompt, model: String, tools: List<String>, timestamp: Long = Clock.System.now().toEpochMilliseconds())

Properties

Link copied to clipboard
open override val messageType: FeatureMessage.Type

Specifies the type of the feature message for this event.

Link copied to clipboard

The description of the LLM model used during the call. Use the format: 'llm_provider:model_id';

Link copied to clipboard

The prompt associated with the LLM call;

Link copied to clipboard

The unique identifier of the LLM run;

Link copied to clipboard
open override val timestamp: Long

The timestamp indicating when the event occurred, represented in milliseconds since the epoch, defaulting to the current system time.

Link copied to clipboard

A list of tools used or invoked during the LLM call;