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

# Cube.auto_explain

<span id="atoti.Cube.auto_explain" />

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

Auto-Explain feature of the cube.

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_without_ai.create_table(
...     table_name, data_types=data_types, keys=keys
... )
>>> cube = session_without_ai.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.create_table(
...     table_name, data_types=data_types, keys=keys
... )
>>> cube = session_with_ai.create_cube(table)
>>> cube.auto_explain is not None
True
```
