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

latest releases: azure-monitor-opentelemetry_1.5.0, azure-monitor-opentelemetry-exporter_1.0.0b26, azure-mgmt-oracledatabase_1.0.0b1...
5 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.