> For the complete documentation index, see [llms.txt](https://docs.noqo.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.noqo.ai/main-settings/additional-settings/safety.md). Agents can also search and read this documentation through its [MCP server](https://docs.noqo.ai/~gitbook/mcp).

# Safety

### Data masking

We recommend requesting the client's consent to process their personal data when initiating communication with them

> Since we are using cloud LLM models, the transfer of personal data to them can also be considered a violation. To avoid any violations, we have created a data masking mechanism, where the actual client data that is personal is not transferred to the model in its original form, but is encrypted before transmission and then decrypted back

<figure><img src="https://1782981877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvUDH16L29QcaH0CuUhn%2Fuploads%2FS3mdcu1QCcWVZawvvtj7%2FSafety_1.jpg?alt=media&amp;token=f6399e8a-66e2-402a-8399-c15a806bdda9" alt=""><figcaption></figcaption></figure>

**How the Personal Data Masking Process Works:**

1. **Data Masking**

* Personal data (for example, phone numbers or passport numbers) is replaced with masked values.

2. **Anonymized data transfer**

* After masking, data is no longer considered personal and is transmitted to the model for processing.

3. **Unmasking and Response Transmission**

* The response received from the model is restored to the original data, and the final result is transmitted to the client.

**What data masking looks like in chat**

> In the chat manager, as well as in the dialog export, a modal window has been added with information about how the response was formed by the model — which message was Before masking and which was After masking, what instruction was used, and what the dialog history was.
>
> \
> All of this provides even better understanding when analyzing bot responses.

**Send media files to LLM**

<figure><img src="https://1782981877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvUDH16L29QcaH0CuUhn%2Fuploads%2FKHpuKltzNiXQUzynj8GH%2FSafety_2.jpg?alt=media&amp;token=9b01b962-2bd2-4bea-ac16-8c87bd44ffbb" alt=""><figcaption></figcaption></figure>

This setting allows you to exclude the transmission of media files to the LLM model for processing.

{% hint style="info" %}
**Please note that this setting has priority over the** [**Image Recognition**](https://docs.noqo.ai/main-settings/additional-settings.md) **setting.**
{% endhint %}

#### **Data Storage** <a href="#undefined" id="undefined"></a>

Here you can set the time period after which messages and conversations will be deleted from all Savvy servers.

<figure><img src="https://1782981877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvUDH16L29QcaH0CuUhn%2Fuploads%2FgIcZYbY3wGlohyR1fKXV%2FSafety_3.jpg?alt=media&amp;token=cd2c6d6a-0d26-4b38-99ad-721572159009" alt=""><figcaption></figcaption></figure>

* **Message Storage (days)** – the retention period for dialog messages. After the specified time period, all messages that fall outside the set time range will be automatically deleted.
* **Dialog Storage (days)** – the period after which dialogs will be deleted if no activity has occurred in the dialog during the selected time period.
* **Delete Dialogs and Message History** – deletion of all current dialogs (at the moment of activation) regardless of activity in the dialog.

{% hint style="info" %}
Please note that by default, we store customer messages and conversations for 90 days. After that, messages and inactive conversations are deleted.
{% endhint %}
