atoti.AiConfig#

final class atoti.AiConfig#

Atoti Intelligence configuration.

Warning

This feature is experimental, its key is "ai".

Example

>>> from atoti_ai_amazon_bedrock import (
...     ChatOptions,
...     ConnectionConfig,
... )
>>> with tt.experimental({"ai"}):
...     ai_config = tt.AiConfig(
...         connection=ConnectionConfig(
...             aws_access_key="...",
...             aws_secret_key="...",
...         ),
...         chat=ChatOptions(
...             model="anthropic.claude-3-sonnet-20240229-v1:0",
...         ),
...     )
chat: ChatOptions#
connection: ConnectionConfig#