Detects the existence of Personally Identifiable Information (PII) in user messages or assistant responses, based on the configured sensitive data types.
User: “My phone number is 123-456-7890.” LLM Response: “Aporia detected a phone number in the message, so this message has been blocked.”This example demonstrates how the guardrail effectively detects sharing of sensitive information, ensuring user privacy.
Example Before Masking: Please send the report to john.doe@example.com and call me at 123-456-7890. Example After Masking: Please send the report to<EMAIL>
and call me at<PHONE_NUMBER>
.