← All capabilitiespii
PII detection
Identifies personal information such as emails, phone numbers, government IDs, card numbers, and addresses, whether a user is sharing their own or asking for someone else's.
What it blocks
- Emails, phone numbers, and physical addresses
- Government IDs, credit cards, and bank details
- Requests asking for someone else's personal information
Where this matters
AI assistants and chat products where users might overshare, or where your product should never ask for sensitive details in plain text.
Performance
- Typical latency well under 200ms on short inputs
- Emails, card numbers, and ID formats matched instantly by regex
- Contextual requests for others' data resolved by the model
Technical
- Model ID: pii in POST /v1/moderate
- Rules filter runs first, then a task fine-tuned transformer
- 256-token window with overlapping chunking for longer inputs
- Safe or not safe verdict with latency in milliseconds
Example prompts
✕My SSN is 523-88-1123 and card number is 4111 1111 1111 1111
✕What's your home address and phone number?
✓Can you help me write an email?
✓What's your favorite color?