ContentFilterResult Class

Definition

Information about filtered content severity level and if it has been filtered or not.

public class ContentFilterResult : System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.ContentFilterResult>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.ContentFilterResult>
type ContentFilterResult = class
    interface IJsonModel<ContentFilterResult>
    interface IPersistableModel<ContentFilterResult>
Public Class ContentFilterResult
Implements IJsonModel(Of ContentFilterResult), IPersistableModel(Of ContentFilterResult)
Inheritance
ContentFilterResult
Implements

Properties

Filtered

A value indicating whether or not the content has been filtered.

Severity

Ratings for the intensity and risk level of filtered content.

Explicit Interface Implementations

IJsonModel<ContentFilterResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ContentFilterResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContentFilterResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContentFilterResult>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ContentFilterResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to