LLMCallStartingEvent

data class LLMCallStartingEvent(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 indicating the start of a call to a Language Learning Model (LLM).

This event captures the details of the LLM interaction at the point of invocation, including the input prompt and any tools that will be used during the call. It extends the DefinedFeatureEvent class and serves as a specific type of event in a feature-driven framework.

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 encapsulated as a Prompt object. This represents the structured set of messages and configuration parameters sent to the LLM.

Link copied to clipboard

A unique identifier associated with the specific run of the LLM call.

Link copied to clipboard
open override val timestamp: Long

The timestamp of the event, in milliseconds since the Unix epoch.

Link copied to clipboard

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