Class ContentFilterResult

java.lang.Object
com.azure.ai.openai.models.ContentFilterResult

public final class ContentFilterResult extends Object
Information about filtered content severity level and if it has been filtered or not.
  • Method Details

    • getSeverity

      public ContentFilterSeverity 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.