RaiPolicyContentFilter interface

Azure OpenAI Content Filter.

Properties

action

The action types to apply to the content filters

blocking

If blocking would occur.

enabled

If the ContentFilter is enabled.

name

Name of ContentFilter.

severityThreshold

Level at which content is filtered.

source

Content source to apply the Content Filters.

Property Details

action

The action types to apply to the content filters

action?: string

Property Value

string

blocking

If blocking would occur.

blocking?: boolean

Property Value

boolean

enabled

If the ContentFilter is enabled.

enabled?: boolean

Property Value

boolean

name

Name of ContentFilter.

name?: string

Property Value

string

severityThreshold

Level at which content is filtered.

severityThreshold?: string

Property Value

string

source

Content source to apply the Content Filters.

source?: string

Property Value

string