Skip to content

Commit

Permalink
ruleorder
Browse files Browse the repository at this point in the history
  • Loading branch information
krichard1212 committed Sep 12, 2024
1 parent 2311159 commit 10bdbe0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ rules:
- name: "language_detection"
type: "language_detection"
enabled: true
order_number: 1
config:
url: "https://api-inference.huggingface.co/models/papluca/xlm-roberta-base-language-detection"
apikey: ""
Expand All @@ -11,6 +12,7 @@ rules:
- name: "pii_example"
type: "pii_filter"
enabled: true
order_number: 2
config:
model_name: "value1"
model_url: "value2"
Expand Down Expand Up @@ -53,6 +55,7 @@ rules:
plugin_name: "prompt_injection_llm"
threshold: 0.85
enabled: true
order_number: 3
config:
plugin_name: "prompt_injection_llm"
threshold: 0.85
Expand Down

0 comments on commit 10bdbe0

Please sign in to comment.