onBeforeLLMCall

suspend fun onBeforeLLMCall(prompt: Prompt)(source)

Notifies all registered LLM handlers before a language model call is made.

Parameters

prompt

The prompt that will be sent to the language model