Class TextCategoriesAnalysis
java.lang.Object
com.azure.ai.contentsafety.models.TextCategoriesAnalysis
Text analysis result.
-
Method Summary
Modifier and TypeMethodDescriptionGet the category property: The text analysis category.Get the severity property: The value increases with the severity of the input content.
-
Method Details
-
getCategory
Get the category property: The text analysis category.- Returns:
- the category value.
-
getSeverity
Get the severity property: 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.- Returns:
- the severity value.
-