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

#### *property* Cube.auto\_explain *: [AutoExplain](./atoti_ai.auto_explain#atoti_ai.AutoExplain) | [None](https://docs.python.org/3/library/constants.html#None)*

Auto-Explain feature of the cube.

`None` when [`atoti.SessionConfig.ai`](./atoti.config.session_config#atoti.SessionConfig.ai) is `None`.

Without AI configured:

```pycon theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
>>> table_name = "Example"
>>> data_types = {"Country": "String", "Quantity": "int"}
>>> keys = {"Country"}
>>> table = session_with_ai_disabled.create_table(
...     table_name, data_types=data_types, keys=keys
... )
>>> cube = session_with_ai_disabled.create_cube(table)
>>> cube.auto_explain is None
True
```

With AI configured:

```pycon theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
>>> table = session_with_ai_enabled.create_table(
...     table_name, data_types=data_types, keys=keys
... )
>>> cube = session_with_ai_enabled.create_cube(table)
>>> cube.auto_explain is not None
True
```
