RaiPolicyContentFilter interface

Azure OpenAI Content Filter.

Properties

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

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