redact_text
Replace detected PII in text with placeholders using context and precision rules, with optional known-entities masking from a .obsify.entities file.
Instructions
Return text with detected PII replaced by placeholders (e.g.
, ). Deterministic; checksum-validated identifiers and
context/precision rules apply so bare numbers are not over-masked.
entities is an optional PATH to a local .obsify.entities file of KNOWN names
to hide; matches (incl. variants) are masked as . If omitted, a
nearby .obsify.entities is auto-used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| entities | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |