> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Session.chat

<span id="atoti.Session.chat" />

> *property* Session.chat: [Chat](./atoti_ai.Chat#atoti_ai.Chat) | [None](https://docs.python.org/3/library/constants.html#None)

Chat feature.

Only available when [`atoti_ai.AiConfig.connection`](./atoti_ai.AiConfig#atoti_ai.AiConfig.connection) and [`atoti_ai.AiConfig.chat`](./atoti_ai.AiConfig#atoti_ai.AiConfig.chat) are both not `None`:

```pycon theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
>>> session_without_ai.chat is None
True
>>> session_without_chat.chat is None
True
>>> session_with_chat.chat is None
False
```
