Skip to content

Commit

Permalink
Cognitive Services 2023-10-01-preview update (#28937)
Browse files Browse the repository at this point in the history
* Cognitive Services 2023-10-01-preview update

Update PutRaiPolicy.json

* fix Model Validation
  • Loading branch information
tianxin-ms committed May 21, 2024
1 parent f517936 commit cb1185d
Showing 1 changed file with 75 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,89 @@
"contentFilters": [
{
"name": "hate",
"allowedContentLevel": "Low",
"blocking": true
"blocking": false,
"enabled": false,
"allowedContentLevel": "High",
"source": "Prompt"
},
{
"name": "hate",
"blocking": true,
"enabled": true,
"allowedContentLevel": "Medium",
"source": "Completion"
},
{
"name": "sexual",
"blocking": true,
"enabled": true,
"allowedContentLevel": "High",
"source": "Prompt"
},
{
"name": "sexual",
"allowedContentLevel": "Low"
"blocking": true,
"enabled": true,
"allowedContentLevel": "Medium",
"source": "Completion"
},
{
"name": "selfharm",
"blocking": true,
"enabled": true,
"allowedContentLevel": "High",
"source": "Prompt"
},
{
"name": "selfharm",
"blocking": true,
"enabled": true,
"allowedContentLevel": "Medium",
"source": "Completion"
},
{
"name": "violence",
"enabled": false
"blocking": true,
"enabled": true,
"allowedContentLevel": "Medium",
"source": "Prompt"
},
{
"name": "violence",
"blocking": true,
"enabled": true,
"allowedContentLevel": "Medium",
"source": "Completion"
},
{
"name": "jailbreak",
"blocking": true,
"source": "Prompt",
"enabled": true
},
{
"name": "protected_material_text",
"blocking": true,
"source": "Completion",
"enabled": true
},
{
"name": "protected_material_code",
"blocking": true,
"source": "Completion",
"enabled": true
},
{
"name": "profanity",
"blocking": true,
"source": "Prompt",
"enabled": true
},
{
"name": "DefaultHateSpeechBlockList",
"enabled": false
"name": "profanity",
"blocking": true,
"source": "Completion",
"enabled": true
}
]
}
Expand Down

0 comments on commit cb1185d

Please sign in to comment.