LLMStreamingStartingEvent

data class LLMStreamingStartingEvent(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 triggered when a language model (LLM) streaming operation is starting.

This event holds metadata related to the initiation of the LLM streaming process, including details about the run, the input prompt, the model used, and the tools involved.

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 input prompt provided for the LLM operation;

Link copied to clipboard

Unique identifier for the LLM run;

Link copied to clipboard
open override val timestamp: Long

The time when the event occurred, represented in epoch milliseconds.

Link copied to clipboard

A list of associated tools or resources that are part of the operation;