LLMCallCompletedContext

data class LLMCallCompletedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val context: AIAgentContext, val runId: String, val prompt: Prompt, val model: LLModel, val tools: List<ToolDescriptor>, val response: Message.Assistant?, val moderationResponse: ModerationResult?) : LLMCallEventContext(source)

Represents the context for handling an after LLM call event.

Constructors

Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, context: AIAgentContext, runId: String, prompt: Prompt, model: LLModel, tools: List<ToolDescriptor>, response: Message.Assistant?, moderationResponse: ModerationResult?)

Properties

Link copied to clipboard
open override val context: AIAgentContext

The AI agent context.

Link copied to clipboard
open override val eventId: String

The unique identifier for the event.

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

Holds execution-specific context information to support observability and tracing during the lifecycle of an agent.

Link copied to clipboard
open override val model: LLModel

The language model instance being used.

Link copied to clipboard

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

Link copied to clipboard
open override val prompt: Prompt

The prompt that will be sent to the language model.

Link copied to clipboard

The response message received from the language model.

Link copied to clipboard
open override val runId: String

The unique identifier for this LLM call session.

Link copied to clipboard
open override val tools: List<ToolDescriptor>

The list of tool descriptors available for the LLM call.