> ## 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.

# atoti.Session.chat

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

The Atoti Chat configuration.

`None` if [`atoti_ai.AiConfig.connection`](./atoti_ai.ai_config#atoti_ai.AiConfig.connection) or [`atoti_ai.AiConfig.chat`](./atoti_ai.ai_config#atoti_ai.AiConfig.chat) are `None`.

`None` when Atoti Intelligence is disabled or no LLM is configured:

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

Otherwise, the chat configuration:

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