Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Atoti Python SDK
experimental
"ai"
>>> import atoti as tt >>> import os >>> from atoti_ai import AiConfig >>> from atoti_ai_openai import ConnectionConfig, ChatConfig
>>> with tt.experimental({"ai"}): ... connection_config = ConnectionConfig( ... api_key=os.environ["AZURE_OPENAI_API_KEY"], ... base_url="https://aiwopenai.openai.azure.com/openai/v1", ... ) ... chat_config = ChatConfig( ... completions_path="/chat/completions", ... model="gpt-5", ... max_completion_tokens=5000, ... temperature=1, ... ) ... ai_config = AiConfig(connection=connection_config, chat=chat_config)
>>> session = tt.Session.start(tt.SessionConfig(ai=ai_config))
ConnectionConfig
Was this page helpful?