PII scrubbing
PII scrubbing finds personal information in conversations as they are ingested and replaces it before the conversation is stored. Each detected value is replaced with a placeholder for its type, such as {NAME} or {EMAIL}.
PII scrubbing is opt-in: it is off for a new account. If you upload chats of real users, decide whether you need it and turn it on before the first upload.
What you need to know before you upload
- It only applies to conversations ingested after you turn it on. Conversations already stored are not changed, and turning scrubbing on later does not scrub them.
- Placeholders can't be undone. The conversation is stored with placeholders in place of the original values, and turning scrubbing off later does not restore them.
- It does not apply to the upload API. Conversations and messages sent with
POST /conversationsandPOST /messages(see Upload conversations) are stored as sent. Scrubbing applies to:- manual upload on the Conversation Analysis page,
- files ingested from S3 or Azure Blob Storage,
- BigQuery sources.
What is scrubbed
- Message text and the content of message step logs
- Feedback notes on messages
- Values in the conversation's
user_data(the keys are kept)
You choose the types and the messages to scrub:
- Categories to scrub: Name, Email, Phone, Address, Age, Credit/Debit card number, US SSN, IP address, URL, Username, Password. Leave all unchecked to scrub every detected type.
- Message source:
- All messages: user and agent messages, and agent logs.
- User only: only user-authored messages; agent messages and logs are left as they are.
- Agent only: only agent-authored messages and logs; user messages are left as they are.
- Use synthetic replacements: replaces detected values with realistic made-up values instead of placeholders, so the stored text still reads naturally.
Turn it on
You need the admin role.
- Click Settings in the sidebar.
- Open Data Import and select the Privacy tab.
- Switch PII Scrubbing on. The notice "New conversations ingested for this tenant will have PII automatically redacted" confirms it is active.
- Optionally choose categories and the message source, then click Save changes.
Where it is available
PII scrubbing uses a guardrail service that runs in Avon AI's AWS cloud. It is available on Avon AI–hosted deployments on AWS, including app.avon-ai.com. It is not available on Azure or on-premises installations; there the Privacy tab does not appear. If you don't see the tab and you are an admin, scrubbing is not available on your deployment: contact your Avon account manager before you upload real users' chats.