Spaces:
Sleeping
Sleeping
Update guardrails.yaml
Browse files- 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 |
-
-
|
| 23 |
-
-
|
| 24 |
-
-
|
| 25 |
-
-
|
| 26 |
-
-
|
| 27 |
-
-
|
| 28 |
-
-
|
| 29 |
-
-
|
| 30 |
|
| 31 |
soft_patterns:
|
| 32 |
-
-
|
| 33 |
-
-
|
| 34 |
-
-
|
| 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 |
+
- 'خود اذیتی'
|