RaiPolicyProperties interface

Azure OpenAI Content Filters properties.

Properties

basePolicyName

Name of Rai policy.

contentFilters

The list of Content Filters.

customBlocklists

The list of custom Blocklist.

mode

Rai policy mode. The enum value mapping is as below: Default = 0, Deferred=1, Blocking=2, Asynchronous_filter =3. Please use 'Asynchronous_filter' after 2024-10-01. It is the same as 'Deferred' in previous version.

type

Content Filters policy type. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

basePolicyName

Name of Rai policy.

basePolicyName?: string

Property Value

string

contentFilters

The list of Content Filters.

contentFilters?: RaiPolicyContentFilter[]

Property Value

customBlocklists

The list of custom Blocklist.

customBlocklists?: CustomBlocklistConfig[]

Property Value

mode

Rai policy mode. The enum value mapping is as below: Default = 0, Deferred=1, Blocking=2, Asynchronous_filter =3. Please use 'Asynchronous_filter' after 2024-10-01. It is the same as 'Deferred' in previous version.

mode?: string

Property Value

string

type

Content Filters policy type. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string