Azure.AI.ContentSafety_1.0.0
1.0.0 (2023-12-15)
Features Added
- Support Microsoft Entra ID Authentication
- Support 8 severity level for AnalyzeText
Breaking Changes
Contract change for AnalyzeText, AnalyzeImage, Blocklist management related methods
AnalyzeText
- AnalyzeTextOptions
- Renamed BreakByBlocklists to HaltOnBlocklistHit
- Added AnalyzeTextOutputType
- AnalyzeTextResult
- Renamed BlocklistsMatchResults to BlocklistsMatch
- Replaced TextAnalyzeSeverityResult by TextCategoriesAnalysis
AnalyzeImage
- AnalyzeImageOptions
- Replaced ImageData by ContentSafetyImageData
- Added AnalyzeImageOutputType
- AnalyzeImageResult
- Replaced ImageAnalyzeSeverityResult by ImageCategoriesAnalysis
Blocklist management
- Added BlocklistAsyncClient
- Renamed AddBlockItemsOptions to AddOrUpdateTextBlocklistItemsOptions
- Renamed AddBlockItemsResult to AddOrUpdateTextBlocklistItemsResult
- Renamed RemoveBlockItemsOptions to RemoveTextBlocklistItemsOptions
- Renamed TextBlockItemInfo to TextBlocklistItem