- Applies to: What people send, What the model answers, or Both. Two guardrails have a fixed choice, noted below.
- When it fires: Log only or Block for every guardrail, and Mask as well for the two data protection guardrails.
Data Protection Filter
Finds personal and sensitive data. Choose the kinds of data to look for, from 31 in six groups:
Can Mask.
Custom Data Protection Filter
Finds your own formats, such as account numbers, employee IDs or case references. Add up to 10 patterns, each with:
Lookahead, lookbehind and backreferences are not supported, and a repeated group that repeats inside itself is refused because it can stall matching. The editor checks the pattern as you type and says what is wrong. Can Mask.