Share via


RaiBlocklistConfig Class

Definition

Azure OpenAI blocklist config.

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

Constructors

RaiBlocklistConfig()

Initializes a new instance of RaiBlocklistConfig.

Properties

Blocking

If blocking would occur.

BlocklistName

Name of ContentFilter.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RaiBlocklistConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RaiBlocklistConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RaiBlocklistConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RaiBlocklistConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RaiBlocklistConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to