# PII Protection

PII Protection detects and masks Personally Identifiable Information in your input before it is sent to the AI model — ensuring sensitive personal data never reaches the model in its original form.

***

#### What It Does

When PII Protection is enabled, Qolaba scans your input locally and anonymizes any detected sensitive personal data before the prompt is sent to the model. The model receives and processes a masked version — the original sensitive values are never transmitted.

**Data detected and masked:**

* Full names
* Email addresses
* Phone numbers
* Home addresses
* Government ID numbers
* Payment and financial details

***

#### How It Works

1. You write a prompt containing sensitive data
2. PII Protection scans the input **locally** before transmission
3. Sensitive values are anonymized — replaced with masked placeholders
4. The masked version is sent to the model
5. The model responds based on the anonymized input

The original data never leaves your environment in its identifiable form.

***

#### When to Enable It

Enable PII Protection when working with:

* Customer records and CRM exports
* Healthcare or patient data
* HR files and employee records
* Legal documents with personal details
* Financial records and payment data

{% hint style="info" %}
PII Protection is available on the **Teams plan**. When enabled, it applies to all input within that chat session.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.qolaba.ai/chatbot/toolkit/pii-protection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
