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

# Chat.system_prompt

<span id="atoti_ai.Chat.system_prompt" />

> *property* Chat.system\_prompt: [str](https://docs.python.org/3/library/stdtypes.html#str)

The system prompt sent to the AI model.

Accessing the default system prompt:

```pycon theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
>>> chat = session.chat
>>> print(chat.system_prompt)  
You are a UI assistant.
You have access to an OLAP cube to perform data analysis.
...
```

Appending extra instructions:

```pycon theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
>>> from os import linesep
>>> chat.system_prompt = (
...     f"{chat.system_prompt}{linesep}Always answer in French."
... )
>>> print(chat.system_prompt)  
You are a UI assistant.
...
Always answer in French.
```

Replacing the prompt entirely:

```pycon theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
>>> chat.system_prompt = "Only answer questions about the data model."
>>> print(chat.system_prompt)
Only answer questions about the data model.
```
