RaiPolicyPropertiesResponse

data class RaiPolicyPropertiesResponse(val basePolicyName: String? = null, val contentFilters: List<RaiPolicyContentFilterResponse>? = null, val customBlocklists: List<CustomBlocklistConfigResponse>? = null, val mode: String? = null, val type: String)

Azure OpenAI Content Filters properties.

Constructors

Link copied to clipboard
constructor(basePolicyName: String? = null, contentFilters: List<RaiPolicyContentFilterResponse>? = null, customBlocklists: List<CustomBlocklistConfigResponse>? = null, mode: String? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val basePolicyName: String? = null

Name of Rai policy.

Link copied to clipboard

The list of Content Filters.

Link copied to clipboard

The list of custom Blocklist.

Link copied to clipboard
val mode: String? = null

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.

Link copied to clipboard

Content Filters policy type.