Skip to main content

PII Masking

Personally identifiable information (PII) includes information such as a person's name, email address, or phone number. PII masking replaces detected information with labels before it is sent to the language model in supported chat processing.

Use this setting when people may include personal information in requests and your organization wants to reduce what is exposed to the model.

Before You Start​

You need permission to change project settings. Agree with your organization's data owner which information should be masked and use fictional data when testing.

Turn On PII Masking​

  1. Open Project Settings → General.
  2. Under Project Configs, turn on Mask Personally Identifiable Information (PII).
  3. Wait for All changes saved.
  4. Start a test conversation using fictional personal information.
  5. Check that the Agent can still complete the intended task with masking enabled.
note

If the platform administrator requires masking across the platform, it remains enabled and the project switch cannot be changed. Contact your platform administrator if the organization-wide policy needs review.

Detection Services: Presidio and BERT Small​

The PII masking engine determines how personal information is detected. The platform supports two services:

PII EngineHow It Works
spaCy (Presidio)Uses language-based detection and pattern rules to identify names, contact details, financial information, and supported identifiers.
BERT Small (hybrid)Combines a trained language model with rules for selected information types, including people's names. It continues to use Presidio for other supported types, such as URLs, IP addresses, and some country-specific identifiers.

A team administrator chooses the service under My Account → Settings → PII masking engine and saves the team settings. This choice applies to the team's projects; the project-level settings determine whether masking is enabled and which types to mask, subject to platform policy.

note

For on-premise deployments: BERT Small must be available in your instance before it can be selected. If it is marked unavailable, contact your platform administrator. Where the page reports Masking currently runs with, check that message to confirm the PII engine actually in use.

Best practices: test the service with fictional examples similar to your business data. Compare whether it masks the information you need to protect while keeping useful business terms readable. The service selection and the PII Entity Types selection serve different purposes: one chooses the detector; the other chooses what it should look for.

Choose What to Mask​

When the project manages its own masking settings, the PII Entity Types section lists the types of information that can be detected and masked. Select the types relevant to your organization's data.

The tables below explain PII labels used by the platform. The exact selectable list can vary with the detection service and deployment version. Check the options shown on your settings page; BERT Small uses Presidio alongside its own detection, rather than providing an entirely separate list.

Personal, Contact, and Financial Information​

PII Entity TypeWhat It Means
PERSONPeople's names
AGEReferences to a person's age
LOCATIONPlace names and locations
NRPNationality, religious group, or political group references
DATE_TIMEDates and times
EMAIL_ADDRESSEmail addresses
PHONE_NUMBERTelephone numbers
URLWeb addresses
IP_ADDRESSInternet Protocol (IP) addresses
CREDIT_CARDCredit card numbers
IBAN_CODEInternational bank account numbers
CRYPTOSupported cryptocurrency wallet addresses
MEDICAL_LICENSEMedical license identifiers

Country-Specific Identifiers​

PII Entity TypeWhat It Means
US_BANK_NUMBERUS bank account numbers
US_DRIVER_LICENSEUS driver's license numbers
US_ITINUS Individual Taxpayer Identification Numbers
US_PASSPORTUS passport numbers
US_SSNUS Social Security numbers
UK_NHSUK National Health Service numbers
UK_NINOUK National Insurance numbers
AU_ABNAustralian Business Numbers
AU_ACNAustralian Company Numbers
AU_TFNAustralian Tax File Numbers
AU_MEDICAREAustralian Medicare numbers
SG_NRIC_FINSingapore National Registration Identity Card and Foreign Identification Numbers
IN_AADHAARIndian Aadhaar numbers
IN_PANIndian Permanent Account Numbers
IN_PASSPORTIndian passport numbers
IN_VEHICLE_REGISTRATIONIndian vehicle registration numbers
IN_VOTERIndian voter identification numbers

Additional BERT Small Types​

BERT Small also supports the following types. Their availability in the selection list depends on your deployment configuration.

PII Entity TypeWhat It Means
IMEIMobile-device equipment identifiers
ORGANIZATIONOrganization names

Selecting a type enables detection for that kind of information; it does not guarantee that every instance will be found. Test the types you choose with fictional examples representative of your data.

note

Clearing every category does not turn masking off: an empty selection uses the platform's default category set. To stop project-level masking, use the main masking switch.

For example, you may need to mask contact details while allowing an Agent to work with non-personal product information. Review the available options with the person responsible for data privacy.

Manage Specific Terms​

Where these project controls are available, use the term lists to address information that the detector handles incorrectly:

SettingPurposeExample
Never mask these termsKeep approved business terms visible when they are incorrectly recognized as personal informationAn approved product name or model number
Always mask these termsMask a term that the detector would not otherwise recognize as sensitiveA confidential internal project name

Type a term and press Enter or use the add control. Remove its entry to stop applying that exception. If the same term appears on both lists, masking takes priority.

Each list supports up to 200 terms, and each term must be 2–100 characters long. The limit applies separately to Never mask and Always mask. Once a list is full, remove an existing term before adding another.

warning

Only add terms to Never mask after checking that they are safe to share. A name or phrase may be harmless in one context and sensitive in another.

Understand the Limits​

Masking is an additional protection, not a guarantee that all sensitive information will be detected. Test your actual use cases before relying on it.

Turning it on does not delete or permanently redact original documents, remove user access, or clean up existing exports. Review Knowledge Base permissions, connected services, and other data-sharing settings separately. See Security & Data Practices.

Best Practices​

  • Test with fictional names, contact details, and business terms that resemble personal information.
  • Check that the Agent's answer remains useful after masking.
  • Keep exceptions limited to terms that have been reviewed.
  • Recheck the behavior when introducing new document types, languages, or connected tools.

Troubleshooting​

IssueWhat to Check
The switch is disabledPlatform-wide masking may be enforced
A product name is maskedReview whether it belongs on Never mask these terms
An internal name is not maskedConsider adding it to Always mask these terms
The Agent cannot complete a taskCheck whether the task depends on information being masked; discuss the appropriate design with your administrator