Raw prompt: “My credit card number is 1234 5678 9012 3456.” Prompt passed to LLM: “My credit card number is [REDACTED_CREDIT_CARD]”This showcases the policy’s ability to identify and secure PII, keeping sensitive information confidential.
CREDIT_CARD
, EMAIL_ADDRESS
, PHONE_NUMBER
, etc.entities
section in the policy configuration.regex
key in the patterns
section.deny_list
in the patterns
section.