Replace any sensitive data in requests with standard identifiers
Phone number
, Email addresses
, Location information
, IP addresses
, Social Security Numbers (SSN)
, Names
, Credit card information
from requestsGuardrails
page and click Create
\b\d{3}-\d{2}-\d{4}\b
for SSN patterns)[REDACTED]
, *****
, [SSN_HIDDEN]
)ON
OFF
unless you want to redact everything except the patternbefore_request_hooks
(input guardrails) and after_request_hooks
(output guardrails) to scan and redact PII in both user inputs and LLM responses.{{EMAIL_ADDRESS_1}}
, {{EMAIL_ADDRESS_2}}
, etc.{{PHONE_NUMBER_1}}
, {{PHONE_NUMBER_2}}
, etc.transformed
boolean flag: Indicates whether any redaction occurredcheck_results
object: Contains detailed information about specific transformationstransformed
flag and check_results
for specific transformation detailsCan I customize the redaction patterns?
How does the system handle multiple instances of the same type of PII?
{{EMAIL_ADDRESS_1}}
, {{EMAIL_ADDRESS_2}}
, etc.) or your custom replacement text for regex-based redaction.Does this feature impact request latency?
Can I use this feature with any LLM?
Does this feature work on both input and output?
Can I combine multiple PII redaction methods?