RaiPolicyContentFilter interface

Azure OpenAI Content Filter.

Properties

allowedContentLevel

Level at which content is filtered.

blocking

If blocking would occur.

enabled

If the ContentFilter is enabled.

name

Name of ContentFilter.

source

Content source to apply the Content Filters.

Property Details

allowedContentLevel

Level at which content is filtered.

allowedContentLevel?: 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

source

Content source to apply the Content Filters.

source?: string

Property Value

string