atoti_ai.AiConfig(Atoti Intelligence configuration. The default
*,
connection: ConnectionConfig | None =None,
chat: ChatConfig | None =None,
chat_enabled: bool =True,
disclaimer: str ='AI can make mistakes, please double check response.',
dynamic_tool_discovery: bool | None =None,
max_attempts: int =5,
prompt: PromptConfig =PromptConfig(timeout=datetime.timedelta(seconds=300), max_consecutive_identical_tool_calls=3, max_tool_errors=5, max_consecutive_refused_rounds=3, max_retry_attempts=1),
auto_explain: AutoExplainConfig =AutoExplainConfig(retained_run_count=100, run_lifetime=datetime.timedelta(seconds=6000)),
mcp: McpClientConfig | None =None,
)
disclaimer:
dynamic_tool_discovery:
See also:
atoti.Cube.auto_explain and atoti.Session.chat.Attributes
connection
The configuration of the connection to the LLM provider.chat
The configuration of the LLM this session prompts. This is notchat_enabled: the LLM configured here serves every AI feature needing one, such as summarizing an atoti.Cube.auto_explain analysis.
chat_enabled
Whether this session serves the chat endpoint. This only has an impact if an LLM is configured (i.e. bothconnection and chat are not None).
True: the AI chat in Atoti UI is usable.False: the AI chat in Atoti UI cannot be used andatoti.Session.chatisNone, but the LLM stays enabled soauto_explainsummaries are still generated.
Added in version 6.2.1.
disclaimer
The disclaimer displayed in Atoti UI next to AI-generated content.dynamic_tool_discovery
Whether the chat sends the LLM only the tools matching each request.True: 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.False: the whole tool set is sent on every request. A small tool set, where searching brings no benefit, is one reason to do so. Inspecting which tools the LLM can see is another.None: the server enables this if the license includes Atoti Intelligence Essentials, and leaves it disabled otherwise.
Added in version 6.2.1.
max_attempts
How many times a call to the LLM is sent, retries included. A failed request is re-sent by the provider’s own client, backing off between attempts. This bounds that for whichever provider the session connects to, taking precedence over the provider’s own property. Set it to1 to disable retries.
Each attempt is bounded by the connection timeouts.
Some providers have a dedicated option for this:
* atoti_ai_amazon_bedrock.ConnectionConfig.timeout.
Added in version 6.2.1.
prompt
What one chat prompt may spend before the session gives up on it.Added in version 6.2.1.
auto_explain
The configuration ofatoti.Cube.auto_explain.
Added in version 6.2.1.
mcp
The configuration of the MCP servers to take additional tools from.Added in version 6.2.1.