final class atoti_ai.AiConfig
Atoti Intelligence configuration. See the Atoti Intelligence documentation for more details.Example
atoti[ai]) and leave connection and
chat set to None.
AutoExplain then returns a default, non-AI summary and the chat feature is
disabled:
dynamic_tool_discovery:
chat : ChatConfig | None = None
The configuration of the chat model.connection : ConnectionConfig | None = None
The configuration of the connection to the LLM provider.dynamic_tool_discovery : bool | None = None
Whether the chat sends the LLM only the tools matching each request. The LLM calls a tool search tool that queries a keyword index. It receives only the matching tools, which reduces prompt token usage and improves tool selection. Set toFalse to send the whole tool set on every request instead.
A small tool set, where searching brings no benefit, is one reason to do so.
Inspecting which tools the LLM can see is another.
Defaults to True when left unset.