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/ContentSafety/models.tsp
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,6 @@ enum AnalyzeTextOutputType {
38
38
enumAnalyzeImageOutputType {
39
39
@doc("Output severities in four levels, the value could be 0,2,4,6.")
40
40
FourSeverityLevels,
41
-
42
-
@doc("Output severities in eight levels, the value could be 0,1,2,3,4,5,6,7.")
43
-
EightSeverityLevels,
44
41
}
45
42
46
43
@doc("The text analysis request.")
@@ -91,7 +88,7 @@ model TextCategoriesAnalysis {
91
88
@doc("The text analysis category.")
92
89
category:TextCategory;
93
90
94
-
@doc("The value increases with the severity of the input content. The value of this field is determined by the outputType specified in the request. If 'FourSeverityLevels' or 'EightSeverityLevels' is chosen, this field will be included in the output.")
91
+
@doc("The value increases with the severity of the input content. The value of this field is determined by the output type specified in the request. The output type could be ‘FourSeverityLevels’ or ‘EightSeverity Levels’, and the output value can be 0, 2, 4, 6 or 0, 1, 2, 3, 4, 5, 6, or 7.")
95
92
severity?:int32;
96
93
}
97
94
@@ -128,7 +125,7 @@ model ImageCategoriesAnalysis {
128
125
@doc("The image analysis category.")
129
126
category:ImageCategory;
130
127
131
-
@doc("The value increases with the severity of the input content. The value of this field is determined by the output type specified in the request. The output type could be ‘FourSeverityLevels’ or ‘EightSeverity Levels’, and the output value can be 0, 2, 4, 6 or 0, 1, 2, 3, 4, 5, 6, or 7.")
128
+
@doc("The value increases with the severity of the input content. The value of this field is determined by the output type specified in the request. The output type could be ‘FourSeverityLevels’, and the output value can be 0, 2, 4, 6.")
Copy file name to clipboardExpand all lines: specification/cognitiveservices/data-plane/ContentSafety/stable/2023-10-01/contentsafety.json
+3-9Lines changed: 3 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -622,8 +622,7 @@
622
622
"type": "string",
623
623
"description": "The type of image analysis output.",
624
624
"enum": [
625
-
"FourSeverityLevels",
626
-
"EightSeverityLevels"
625
+
"FourSeverityLevels"
627
626
],
628
627
"x-ms-enum": {
629
628
"name": "AnalyzeImageOutputType",
@@ -633,11 +632,6 @@
633
632
"name": "FourSeverityLevels",
634
633
"value": "FourSeverityLevels",
635
634
"description": "Output severities in four levels, the value could be 0,2,4,6."
636
-
},
637
-
{
638
-
"name": "EightSeverityLevels",
639
-
"value": "EightSeverityLevels",
640
-
"description": "Output severities in eight levels, the value could be 0,1,2,3,4,5,6,7."
641
635
}
642
636
]
643
637
}
@@ -817,7 +811,7 @@
817
811
"severity": {
818
812
"type": "integer",
819
813
"format": "int32",
820
-
"description": "The value increases with the severity of the input content. The value of this field is determined by the output type specified in the request. The output type could be ‘FourSeverityLevels’ or ‘EightSeverity Levels’, and the output value can be 0, 2, 4, 6 or 0, 1, 2, 3, 4, 5, 6, or 7."
814
+
"description": "The value increases with the severity of the input content. The value of this field is determined by the output type specified in the request. The output type could be ‘FourSeverityLevels’, and the output value can be 0, 2, 4, 6."
821
815
}
822
816
},
823
817
"required": [
@@ -1022,7 +1016,7 @@
1022
1016
"severity": {
1023
1017
"type": "integer",
1024
1018
"format": "int32",
1025
-
"description": "The value increases with the severity of the input content. The value of this field is determined by the outputType specified in the request. If 'FourSeverityLevels' or 'EightSeverityLevels' is chosen, this field will be included in the output."
1019
+
"description": "The value increases with the severity of the input content. The value of this field is determined by the output type specified in the request. The output type could be ‘FourSeverityLevels’ or ‘EightSeverity Levels’, and the output value can be 0, 2, 4, 6 or 0, 1, 2, 3, 4, 5, 6, or 7."
0 commit comments