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

> How to customize the Atoti Intelligence AI disclaimer in an Atoti Java project through the `atoti.ai.disclaimer` application property, and the default disclaimer shown when none is defined.

> [!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 Java 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 in the application configuration file.

Add the following to `application.yaml`:

```yaml theme={"languages":{"custom":["/engine/python-sdk/6.2/languages/pycon.tmLanguage.json"]}}
atoti.ai.disclaimer: "Any AI disclaimer"
```

Any disclaimer set will be displayed in the UI. If none is defined, 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)
* [Set up a custom disclaimer in Python](https://docs.activeviam.com/atoti-intelligence/6.2/developer-guide/enable-ai-tools/disclaimer/setup-python.md)
