What is PII Policy?
PII policies detect and protect personal identifiable information including emails, phone numbers, SSN, addresses, credit cards, driver’s licenses, passports, IP addresses, and other sensitive personal data.Why its Important?
PII policies are critical for protecting personal identifiable information and ensuring compliance with privacy regulations. These policies prevent sensitive personal data from being sent to LLMs, which helps maintain user privacy, prevent identity theft, and comply with data protection laws.- Prevents sending PII to LLM: Blocks emails, addresses, SSN, and other personal data from being processed by language models
- Protects against identity theft: Prevents sensitive personal information from being exposed or used maliciously
- Ensures privacy compliance: Helps maintain compliance with GDPR, CCPA, and other data protection regulations
Usage
Available Variants
PIIBlockPolicy: Blocks any content with PIIPIIBlockPolicy_LLM: LLM-powered block messagesPIIBlockPolicy_LLM_Finder: LLM detection for better accuracyPIIAnonymizePolicy: Anonymizes PII with unique replacementsPIIReplacePolicy: Replaces PII with[PII_REDACTED]PIIRaiseExceptionPolicy: Raises DisallowedOperation exceptionPIIRaiseExceptionPolicy_LLM: LLM-generated exception messages

