github Azure/azure-sdk-for-python azure-ai-contentsafety_1.0.0

latest releases: azure-cosmos_4.8.0, azure-ai-inference_1.0.0b6, azure-eventhub_5.13.0...
11 months ago

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. The changes are listed below:

AnalyzeText

  • AnalyzeTextOptions
    • Renamed breakByBlocklists to haltOnBlocklistHit
    • Added AnalyzeTextOutputType model for the output_type property.
  • AnalyzeTextResult
    • Renamed TextBlocklistMatchResult to TextBlocklistMatch
    • Replaced TextAnalyzeSeverityResult by TextCategoriesAnalysis

AnalyzeImage

  • AnalyzeImageOptions
    • Added AnalyzeImageOutputType
  • AnalyzeImageResult
    • Replaced ImageAnalyzeSeverityResult by ImageCategoriesAnalysis

Blocklist management

  • Added BlocklistClient
  • Renamed AddBlockItemsOptions to AddOrUpdateTextBlocklistItemsOptions
  • Renamed AddBlockItemsResult to AddOrUpdateTextBlocklistItemsResult
  • Renamed RemoveBlockItemsOptions to RemoveTextBlocklistItemsOptions
  • Renamed TextBlockItemInfo to TextBlocklistItem

Don't miss a new azure-sdk-for-python release

NewReleases is sending notifications on new releases.