LLMCallCompletedContext

data class LLMCallCompletedContext(val runId: String, val callId: String, val prompt: Prompt, val model: LLModel, val tools: List<ToolDescriptor>, val responses: List<Message.Response>, val moderationResponse: ModerationResult?) : LLMCallEventContext(source)

Represents the context for handling an after LLM call event.

Constructors

Link copied to clipboard
constructor(runId: String, callId: String, prompt: Prompt, model: LLModel, tools: List<ToolDescriptor>, responses: List<Message.Response>, moderationResponse: ModerationResult?)

Properties

Link copied to clipboard
Link copied to clipboard

Represents the specific type of event handled within the event handler context, categorizing the nature of agent-related or strategy-related events.

Link copied to clipboard

The language model instance that was used.

Link copied to clipboard

The moderation response, if any, received from the language model.

Link copied to clipboard

The prompt that was sent to the language model.

Link copied to clipboard

The response messages received from the language model.

Link copied to clipboard

The unique identifier for this LLM call session.

Link copied to clipboard

The list of tool descriptors that were available for the LLM call.