Skip to content

Commit

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

* address comments

* address LintDiff
  • Loading branch information
tianxin-ms authored Jan 26, 2024
1 parent 8829910 commit 5edeefc
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2524,7 +2524,7 @@
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/raiContentFilters": {
"post": {
"get": {
"tags": [
"RaiContentFilters"
],
Expand Down Expand Up @@ -2559,6 +2559,9 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
Expand Down Expand Up @@ -5538,7 +5541,7 @@
"$ref": "#/definitions/RaiPolicyContentFilter"
},
"x-ms-identifiers": [
"policyName"
"name"
],
"description": "The list of Content Filters."
}
Expand All @@ -5560,7 +5563,7 @@
"description": "Azure OpenAI Content Filter.",
"type": "object",
"properties": {
"policyName": {
"name": {
"type": "string",
"description": "Name of ContentFilter."
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@
"basePolicyName": "112",
"contentFilters": [
{
"policyName": "hate",
"name": "hate",
"allowedContentLevel": "Low",
"blocking": true
},
{
"policyName": "sexual",
"name": "sexual",
"allowedContentLevel": "Low"
},
{
"policyName": "violence",
"name": "violence",
"enabled": false
},
{
"policyName": "DefaultHateSpeechBlockList",
"name": "DefaultHateSpeechBlockList",
"enabled": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@
"basePolicyName": "112",
"contentFilters": [
{
"policyName": "hate",
"name": "hate",
"allowedContentLevel": "Low",
"blocking": true
},
{
"policyName": "sexual",
"name": "sexual",
"allowedContentLevel": "Low"
},
{
"policyName": "violence",
"name": "violence",
"enabled": false
},
{
"policyName": "DefaultHateSpeechBlockList",
"name": "DefaultHateSpeechBlockList",
"enabled": false
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
"basePolicyName": "112",
"contentFilters": [
{
"policyName": "hate",
"name": "hate",
"allowedContentLevel": "Low",
"blocking": true
},
{
"policyName": "sexual",
"name": "sexual",
"allowedContentLevel": "Low"
},
{
"policyName": "violence",
"name": "violence",
"enabled": false
},
{
"policyName": "DefaultHateSpeechBlockList",
"name": "DefaultHateSpeechBlockList",
"enabled": false
}
]
Expand All @@ -39,20 +39,20 @@
"basePolicyName": "112",
"contentFilters": [
{
"policyName": "hate",
"name": "hate",
"allowedContentLevel": "Low",
"blocking": true
},
{
"policyName": "sexual",
"name": "sexual",
"allowedContentLevel": "Low"
},
{
"policyName": "violence",
"name": "violence",
"enabled": false
},
{
"policyName": "DefaultHateSpeechBlockList",
"name": "DefaultHateSpeechBlockList",
"enabled": false
}
]
Expand All @@ -67,20 +67,20 @@
"basePolicyName": "112",
"contentFilters": [
{
"policyName": "hate",
"name": "hate",
"allowedContentLevel": "Low",
"blocking": true
},
{
"policyName": "sexual",
"name": "sexual",
"allowedContentLevel": "Low"
},
{
"policyName": "violence",
"name": "violence",
"enabled": false
},
{
"policyName": "DefaultHateSpeechBlockList",
"name": "DefaultHateSpeechBlockList",
"enabled": false
}
]
Expand Down

0 comments on commit 5edeefc

Please sign in to comment.