▤ Tutorials
How to redact PII before sending data to an LLM
@ai-supply · 1mo ago
Why redact
Anything you put in a prompt may be logged or leave your boundary. Redacting PII (and secrets) before the model sees it is a baseline privacy control — and often a compliance requirement.
The pattern
- Detect entities (names, emails, phone numbers, IDs, secrets) with an NER/redaction tool.
- Replace them with placeholders before the prompt.
- Optionally re-insert real values in the response after the model returns.
Free tools on ai-supply
PII/PHI redaction and secret-detection capabilities are published as guardrails and NLP tools, each security-scanned with a score and grade. Browse the cybersecurity and nlp categories.
Make redaction a required step in your pipeline — find vetted tools on the catalog.