sanitize_text
Detect and redact sensitive personal information in text before downstream processing. Choose mask, hash, or remove modes for names, emails, phones, locations, and ID numbers.
Instructions
Detect and redact sensitive personal information from text before downstream processing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text containing sensitive personal information to be sanitized. | |
| rules | No | Optional mapping of entity types to redaction modes. Defaults to MASK for all types. |