key
Attribute key used to store and retrieve the KoogInstance
from the application's attributes.
The KoogInstance
holds a reference to the PromptExecutor
, the default language model (LLModel
), and other necessary configurations and tools required for executing prompts and performing AI-driven operations.
This key is utilized within the application to access the KoogInstance
for tasks such as processing language model queries, moderating content, and employing available AI tools in a routing context.