> ## 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_ai.Chat.system_prompt

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

The system prompt sent to the model.

Defaults to Atoti’s built-in prompt.
Reading queries the server; assigning updates the configuration immediately
(requires the `ROLE_ADMIN` role) and takes effect on the next chat run.
Assigning replaces the prompt entirely: concatenate to the current value to keep
the built-in prompt, or assign a new string to override it.

It defaults to the built-in prompt:

```pycon theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
>>> print(chat.system_prompt)  
You are a UI assistant.
...
```

Append extra instructions to it:

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

Or replace it entirely:

```pycon theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
>>> chat.system_prompt = "I know what I am doing, let me drive."
>>> chat.system_prompt
'I know what I am doing, let me drive.'
```
