Nuzwa commited on
Commit
500fa07
·
verified ·
1 Parent(s): e738eaf

Update guardrails.yaml

Browse files
Files changed (1) hide show
  1. guardrails.yaml +17 -17
guardrails.yaml CHANGED
@@ -19,22 +19,22 @@ refusal_msg_en: |
19
  You are not alone. Please seek support from nearby professionals or trusted people.
20
 
21
  blocked_patterns:
22
- - "(?i)how to make (?:a )?bomb"
23
- - "(?i)suicide (?:plan|method|advice)"
24
- - "(?i)child\s*exploitation"
25
- - "(?i)hate\s*speech"
26
- - "(?i)credit\s*card\s*number"
27
- - "(?i)terrorist|extremist\s*manual"
28
- - "(?i)قتل کا طریقہ"
29
- - "(?i)خودکشی کی ہدایت"
30
 
31
  soft_patterns:
32
- - "(?i)depression|self\s*hate|panic|abuse"
33
- - "(?i)drug\s*use|overdose"
34
- - "(?i)extremism|radical"
35
- - "افسردگی"
36
- - "پریشانی"
37
- - "خوف کا دورہ"
38
- - "منشیات"
39
- - "ذہنی دباؤ"
40
- - "خود اذیتی"
 
19
  You are not alone. Please seek support from nearby professionals or trusted people.
20
 
21
  blocked_patterns:
22
+ - '(?i)how to make (?:a )?bomb'
23
+ - '(?i)suicide (?:plan|method|advice)'
24
+ - '(?i)child\s*exploitation'
25
+ - '(?i)hate\s*speech'
26
+ - '(?i)credit\s*card\s*number'
27
+ - '(?i)terrorist|extremist\s*manual'
28
+ - '(?i)قتل کا طریقہ'
29
+ - '(?i)خودکشی کی ہدایت'
30
 
31
  soft_patterns:
32
+ - '(?i)depression|self\s*hate|panic|abuse'
33
+ - '(?i)drug\s*use|overdose'
34
+ - '(?i)extremism|radical'
35
+ - 'افسردگی'
36
+ - 'پریشانی'
37
+ - 'خوف کا دورہ'
38
+ - 'منشیات'
39
+ - 'ذہنی دباؤ'
40
+ - 'خود اذیتی'