×
Menu
Index

5.7.4. Privacy: anonymizing documents sent to the AI

 
The Privacy tab of an AI configuration hides the personal data of a document before it is sent to the AI provider, and puts the real values back into the answer before the fields are written. The AI reads [PERSON_1] where the page says a name, and the field receives the name.
The personal data is found on the station by ChronoAnonymizer, a local model installed with ChronoScan: the real values never leave the computer and no credits are used. It applies to the AI configurations of the job (OpenAI, Azure OpenAI, DeepSeek, Anthropic through the ChronoScan Hub, a local server and Gemini; see AI configurations per job): the OpenAI and the Gemini configuration windows have the same Privacy tab. Ollama configurations, the AI calls made from scripts and the OCR translation are not anonymized. It is off by default: existing configurations do not change.
What you need
Turning it on
Options of the Privacy tab
The Privacy tab of an OpenAI configuration. The Gemini configuration window has the same tab.
Option
Default
Description
I understand anonymization is not 100 percent safe
off
Required to turn anonymization on. Withdrawing it turns anonymization off. A configuration with anonymization on and this notice not accepted never calls the AI.
Anonymize the document
off
Hides the personal data of the page text and blacks it out on the page images sent to vision models.
Preview what will be sent
 
Runs the same anonymization on the open document without calling the AI. See below.
Replace with
Placeholders
Placeholders ([PERSON_1], [BANK_ACCOUNT_1]...): the AI can still extract the field and the real value is put back here. Redact ([REDACTED]): nothing comes back.
Keep the supplier's data
on
The issuer's own name, tax ID, address, phone, email and IBAN stay readable: companies are not personal data and many prompts need them. Only when the page OCR has lines and the supplier is clear; otherwise nothing is kept and the status of the document says why. The job's own companies are never taken as the supplier (see Supplier detection without AI).
Kinds of data to hide
the personal ones
People, personal ID numbers, dates of birth, email addresses, phone numbers, postal addresses, bank accounts, payment cards, vehicle plates, passwords and secrets, and special categories (health, beliefs...) are hidden by default. Online identifiers, organizations, company tax IDs and places are shown by default.
Never hide
empty
Values that always stay readable, separated by ; (for example the company's own name or a reference the prompt needs).
Always hide
empty
Values hidden wherever they appear, separated by ; (for example a customer or project name the detection does not know).
If the anonymizer fails
Do not call the AI
When the anonymizer cannot run (not installed, a page without OCR for a vision model...): do not call the AI and record the error on the document, or send the document as it is.
What is sent and what comes back
Example (invented data):
Page:      Attention: Laura Gomez Ruiz - Phone 600 123 456 - IBAN ES91 2100 0418 4502 0005 1332
To the AI: Attention: [PERSON_1] - Phone [PHONE_1] - IBAN [BANK_ACCOUNT_1]
Answer:    {"contact": "[PERSON_1]", "iban": "[BANK_ACCOUNT_1]"}
Saved:     {"contact": "Laura Gomez Ruiz", "iban": "ES91 2100 0418 4502 0005 1332"}
Preview what will be sent
The button runs the same anonymization as a real request on the document open in ChronoScan, without calling the AI, and opens a window with the text exactly as it would leave (placeholders highlighted) or the page images with the black boxes, and a table with each placeholder, its kind and its real value. The real values are shown only in that window; the images are kept in a temporary folder that is deleted when the window closes. If the document would not be sent (notice not accepted, a page without OCR for a vision model...), the window says why.
To see on every document of a batch what the anonymizer finds, without any AI configuration, add the processing step described in Entity detection without AI: it marks the data on the page and its Hide view blacks out the same kinds of data this tab hides by default.
Diagnosis
Each document keeps the result of the last request:
Message
Cause and what to do
the Privacy disclaimer ... has not been accepted
Anonymization is on but the notice is not accepted. Accept it in the Privacy tab.
page N has no OCR ...
A vision configuration needs the OCR of the page to find the data on the image. Run the OCR before the AI step.
page N: the personal data model did not run
The model of the anonymizer did not load and only its rules ran, which is not enough to send the document. Reinstall the Anonymizer component.
anonymizer: ...
The anonymizer could not run (component not installed, its process stopped); the rest of the message says why. Install the Anonymizer component.
supplier's data not kept: ...
Not an error: the supplier's data was hidden too, because the page has no lines or the supplier was not clear.