Condividi tramite


RaiContentFilterProperties Class

Definition

Azure OpenAI Content Filter Properties.

public class RaiContentFilterProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CognitiveServices.Models.RaiContentFilterProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CognitiveServices.Models.RaiContentFilterProperties>
type RaiContentFilterProperties = class
    interface IJsonModel<RaiContentFilterProperties>
    interface IPersistableModel<RaiContentFilterProperties>
Public Class RaiContentFilterProperties
Implements IJsonModel(Of RaiContentFilterProperties), IPersistableModel(Of RaiContentFilterProperties)
Inheritance
RaiContentFilterProperties
Implements

Constructors

RaiContentFilterProperties()

Initializes a new instance of RaiContentFilterProperties.

Properties

IsMultiLevelFilter

If the Content Filter has multi severity levels(Low, Medium, or High).

Name

Name of Content Filter.

Source

Content source to apply the Content Filters.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RaiContentFilterProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RaiContentFilterProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RaiContentFilterProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RaiContentFilterProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RaiContentFilterProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to