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

<Info>
  ### Atoti Intelligence Essentials

  This is part of the Atoti Intelligence Essentials offer.
</Info>

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/products/atoti/python-sdk/latest/api/atoti_ai.AiConfig.html) when building the session configuration:

```python theme={"languages":{"custom":["/engine/python-sdk/0.9/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.mistral.pixtral-large-2502-v1:0",
)
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/0.9/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:

<SnippetAiCommonDefaultDisclaimer />

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

<Frame>
  <img src="https://mintcdn.com/activeviam/EZHbxaIwVJGrhtPH/atoti-intelligence/6.2/images/disclaimer_example.png?fit=max&auto=format&n=EZHbxaIwVJGrhtPH&q=85&s=01aa3e01259153cbd0e1959efb74e1ff" alt="Hover over the disclaimer to see it displayed" width="542" height="952" data-path="atoti-intelligence/6.2/images/disclaimer_example.png" />
</Frame>

## Related reading

* [Set up an LLM](../configure-and-start/set-up-an-llm)
