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

# Set up a custom disclaimer in Python

> How to customize the Atoti Intelligence AI disclaimer in an Atoti Python project through the `disclaimer` parameter of `AiConfig`.

> [!NOTE]
>
> ### Atoti Intelligence Essentials
>
> This is part of the Atoti Intelligence Essentials offer.

This guide explains how to configure an AI disclaimer for use with Atoti Intelligence in an Atoti Python project.

## Why configure an AI disclaimer?

LLMs can make mistakes.
Depending on an organization's compliance requirements, an AI disclaimer may be necessary to inform users when an LLM is involved in a response.

## Configuration approach

Set the disclaimer through the `disclaimer` parameter of [`AiConfig`](https://docs.activeviam.com/engine/python-sdk/latest/api/atoti_ai.config.AiConfig) when building the session configuration:

```python theme={"languages":{"custom":["/engine/python-sdk/6.2/languages/pycon.tmLanguage.json"]}}
import os
from atoti_ai import AiConfig
from atoti_ai_amazon_bedrock import ConnectionConfig, ChatConfig
connection_config = ConnectionConfig(
    aws_access_key=os.environ["AWS_ACCESS_KEY_ID"],
    aws_secret_key=os.environ["AWS_SECRET_ACCESS_KEY"],
    aws_region="eu-west-3",
)
chat_config = ChatConfig(
    model="eu.anthropic.claude-sonnet-4-6",
)
custom_disclaimer = "Custom disclaimer."
ai_config = AiConfig(
    connection=connection_config,
    chat=chat_config,
    disclaimer=custom_disclaimer,
)
session_config = tt.SessionConfig(ai=ai_config)
```

Then start the session with that configuration:

```python theme={"languages":{"custom":["/engine/python-sdk/6.2/languages/pycon.tmLanguage.json"]}}
session = tt.Session.start(session_config)
```

Any disclaimer set will be displayed in the UI.
Until one is set, the disclaimer defaults to:

```java theme={"languages":{"custom":["/engine/python-sdk/6.2/languages/pycon.tmLanguage.json"]}}
private String disclaimer = "AI can make mistakes, please double check response.";
```

This is what the disclaimer will look like in the UI:

![Hover over the disclaimer to see it displayed](https://mintcdn.com/activeviam/_nRu_vr7aRF8TBg3/atoti-intelligence/6.2/images/disclaimer_example.png?fit=max\&auto=format\&n=_nRu_vr7aRF8TBg3\&q=85\&s=882802f90298f99fca1c3d692774610a)

## Related reading

* [Set up an LLM](https://docs.activeviam.com/atoti-intelligence/6.2/developer-guide/enable-ai-tools/configure-and-start/set-up-an-llm.md)
