BeforeLLMCallContext

data class BeforeLLMCallContext(val runId: String, val prompt: Prompt, val model: LLModel, val tools: List<ToolDescriptor>) : LLMEventHandlerContext(source)

Represents the context for handling a before LLM call event.

Constructors

Link copied to clipboard
constructor(runId: String, prompt: Prompt, model: LLModel, tools: List<ToolDescriptor>)

Properties

Link copied to clipboard

The language model instance being used.

Link copied to clipboard

The prompt that will be sent to the language model.

Link copied to clipboard
Link copied to clipboard

The list of tool descriptors available for the LLM call.