Sprog

ContentFilterConfiguration Class

Definition

Configuration for Responsible AI (RAI) content filtering and safety features.

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

Constructors

Name Description
ContentFilterConfiguration(String)

Initializes a new instance of ContentFilterConfiguration.

Properties

Name Description
InvocationsModeration

Author-declared configuration telling the platform where user/agent text lives in the agent-defined invocations request/response bodies, so content-safety guardrails can extract and moderate it. Optional; a rai_config without it leaves the invocations path without content-safety moderation.

RaiPolicyName

The name of the RAI policy to apply.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ContentFilterConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ContentFilterConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<ContentFilterConfiguration>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ContentFilterConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ContentFilterConfiguration>.Write(ModelReaderWriterOptions)

Applies to