RaiPolicyContentFilter interface
Azure OpenAI 內容篩選。
屬性
| allowed |
篩選內容的層級。 |
| blocking | 如果會發生封鎖,則為 。 |
| enabled | 如果已啟用 ContentFilter。 |
| name | ContentFilter 的名稱。 |
| source | 要套用內容篩選的內容來源。 |
屬性詳細資料
allowedContentLevel
篩選內容的層級。
allowedContentLevel?: string
屬性值
string
blocking
如果會發生封鎖,則為 。
blocking?: boolean
屬性值
boolean
enabled
如果已啟用 ContentFilter。
enabled?: boolean
屬性值
boolean
name
ContentFilter 的名稱。
name?: string
屬性值
string
source
要套用內容篩選的內容來源。
source?: string
屬性值
string