monte dataset add --anonymize replaces those details before the rows are stored, so only anonymized rows reach artifact storage. Anonymization removes personal details. It does not grant the right to train on the rows.
Anonymize Rows
--preview prints rows before and after, and stores nothing. Run the command again without --preview to add the dataset.
Two detectors find the details. A named entity recognition (NER) model finds names in context, and pattern rules find structured identifiers. The NER model runs where monte dataset add runs, so no row goes to a third-party model.
--entities limits the types, and --threshold (default 0.5) sets the lowest NER confidence that counts as a find. A lower threshold finds more names and also replaces more words that are not personal.
Choose a Replacement
A placeholder or a pseudonym maps the same value to the same replacement in every turn of a row, so a ticket that names the customer twice still reads as one person:
Keep Terms and Add Patterns
A keep file lists names that must stay, such as the company’s own product names. A pattern file adds identifier types that the built-in rules do not know. Each key becomes a type with its own placeholder.keep.txt
patterns.yaml
CASE-104233 becomes [CASE_1], and Acme Cloud stays as it is.
Check What Remains
monte dataset show support-replies prints how many values of each type the add replaced.

