Package com.azure.ai.openai.models
Class ContentFilterResult
java.lang.Object
com.azure.ai.openai.models.ContentFilterResult
Information about filtered content severity level and if it has been filtered or not.
-
Method Summary
Modifier and TypeMethodDescriptionGet the severity property: Ratings for the intensity and risk level of filtered content.booleanGet the filtered property: A value indicating whether or not the content has been filtered.
-
Method Details
-
getSeverity
Get the severity property: Ratings for the intensity and risk level of filtered content.- Returns:
- the severity value.
-
isFiltered
public boolean isFiltered()Get the filtered property: A value indicating whether or not the content has been filtered.- Returns:
- the filtered value.
-