RaiPolicyProperties interface
Azure OpenAI Content Filters properties.
Properties
| base |
Name of Rai policy. |
| content |
The list of Content Filters. |
| custom |
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 2025-06-01. It is the same as 'Deferred' in previous version. |
| safety |
The list of Safety Providers. |
| type | Content Filters policy type. |
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 2025-06-01. It is the same as 'Deferred' in previous version.
mode?: string
Property Value
string
safetyProviders
The list of Safety Providers.
safetyProviders?: SafetyProviderConfig[]
Property Value
type
Content Filters policy type.
type?: string
Property Value
string