You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2023-10-01-preview/cognitiveservices.json
+15-6
Original file line number
Diff line number
Diff line change
@@ -5631,16 +5631,25 @@
5631
5631
"description": "Azure OpenAI Content Filter.",
5632
5632
"type": "object",
5633
5633
"properties": {
5634
-
"name": {
5634
+
"policyName": {
5635
5635
"type": "string",
5636
5636
"description": "Name of Content Filter."
5637
5637
},
5638
-
"isMultiLevelFilter": {
5639
-
"type": "boolean",
5640
-
"description": "If the Content Filter has multi severity levels(Low, Medium, or High)."
Copy file name to clipboardExpand all lines: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2023-10-01-preview/examples/ListRaiContentFilters.json
+9-34
Original file line number
Diff line number
Diff line change
@@ -9,44 +9,19 @@
9
9
"body": {
10
10
"value": [
11
11
{
12
-
"name": "Hate",
13
-
"isMultiLevelFilter": true
12
+
"policyName": "Hate",
13
+
"description": "Multi-level filter for hate speech.",
14
+
"filterType": "MultiLevel"
14
15
},
15
16
{
16
-
"name": "Sexual",
17
-
"isMultiLevelFilter": true
17
+
"policyName": "Sexual",
18
+
"description": "Multi-level filter for sexual content.",
19
+
"filterType": "MultiLevel"
18
20
},
19
21
{
20
-
"name": "Violence",
21
-
"isMultiLevelFilter": true
22
-
},
23
-
{
24
-
"name": "Selfharm",
25
-
"isMultiLevelFilter": true
26
-
},
27
-
{
28
-
"name": "Jailbreak",
29
-
"isMultiLevelFilter": false,
30
-
"source": "Prompt"
31
-
},
32
-
{
33
-
"name": "Protected Material Text",
34
-
"isMultiLevelFilter": false,
35
-
"source": "Completion"
36
-
},
37
-
{
38
-
"name": "Protected Material Code",
39
-
"isMultiLevelFilter": false,
40
-
"source": "Completion"
41
-
},
42
-
{
43
-
"name": "Profanity",
44
-
"isMultiLevelFilter": false
45
-
},
46
-
{
47
-
"name": "Indirect Attack",
48
-
"isMultiLevelFilter": false,
49
-
"source": "Prompt"
22
+
"policyName": "HateSpeechPatterns",
23
+
"description": "Global blocklist for hate speech.",
Copy file name to clipboardExpand all lines: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2024-04-01-preview/cognitiveservices.json
+15-6
Original file line number
Diff line number
Diff line change
@@ -6292,16 +6292,25 @@
6292
6292
"description": "Azure OpenAI Content Filter.",
6293
6293
"type": "object",
6294
6294
"properties": {
6295
-
"name": {
6295
+
"policyName": {
6296
6296
"type": "string",
6297
6297
"description": "Name of Content Filter."
6298
6298
},
6299
-
"isMultiLevelFilter": {
6300
-
"type": "boolean",
6301
-
"description": "If the Content Filter has multi severity levels(Low, Medium, or High)."
Copy file name to clipboardExpand all lines: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2024-04-01-preview/examples/ListRaiContentFilters.json
+9-34
Original file line number
Diff line number
Diff line change
@@ -9,44 +9,19 @@
9
9
"body": {
10
10
"value": [
11
11
{
12
-
"name": "Hate",
13
-
"isMultiLevelFilter": true
12
+
"policyName": "Hate",
13
+
"description": "Multi-level filter for hate speech.",
14
+
"filterType": "MultiLevel"
14
15
},
15
16
{
16
-
"name": "Sexual",
17
-
"isMultiLevelFilter": true
17
+
"policyName": "Sexual",
18
+
"description": "Multi-level filter for sexual content.",
19
+
"filterType": "MultiLevel"
18
20
},
19
21
{
20
-
"name": "Violence",
21
-
"isMultiLevelFilter": true
22
-
},
23
-
{
24
-
"name": "Selfharm",
25
-
"isMultiLevelFilter": true
26
-
},
27
-
{
28
-
"name": "Jailbreak",
29
-
"isMultiLevelFilter": false,
30
-
"source": "Prompt"
31
-
},
32
-
{
33
-
"name": "Protected Material Text",
34
-
"isMultiLevelFilter": false,
35
-
"source": "Completion"
36
-
},
37
-
{
38
-
"name": "Protected Material Code",
39
-
"isMultiLevelFilter": false,
40
-
"source": "Completion"
41
-
},
42
-
{
43
-
"name": "Profanity",
44
-
"isMultiLevelFilter": false
45
-
},
46
-
{
47
-
"name": "Indirect Attack",
48
-
"isMultiLevelFilter": false,
49
-
"source": "Prompt"
22
+
"policyName": "HateSpeechPatterns",
23
+
"description": "Global blocklist for hate speech.",
0 commit comments