afterLLMCallHandler

A handler invoked after a call to a language model (LLM) is executed.

This variable represents a custom implementation of the AfterLLMCallHandler functional interface, allowing post-processing or custom logic to be performed once the LLM has returned a response.

The handler receives various pieces of information about the LLM call, including the original prompt, the tools used, the model invoked, the responses returned by the model, and a unique run identifier.

Customize this handler to implement specific behavior required immediately after LLM processing.