mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
chore(proxy): add local content-filter guardrail to dev config
Signed-off-by: Jacinta Ferrant <jacinta.ferrant@gmail.com>
This commit is contained in:
parent
99548817ae
commit
cd05bce275
1 changed files with 14 additions and 0 deletions
|
|
@ -189,3 +189,17 @@ general_settings:
|
|||
litellm_settings:
|
||||
drop_params: True
|
||||
telemetry: False
|
||||
|
||||
guardrails:
|
||||
- guardrail_name: "pii-content-filter"
|
||||
litellm_params:
|
||||
guardrail: litellm_content_filter
|
||||
mode: "pre_call"
|
||||
default_on: true
|
||||
patterns:
|
||||
- pattern_type: "prebuilt"
|
||||
pattern_name: "us_ssn"
|
||||
action: "BLOCK"
|
||||
- pattern_type: "prebuilt"
|
||||
pattern_name: "email"
|
||||
action: "MASK"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue