github Azure/azure-sdk-for-python azure-ai-textanalytics_6.0.0b1

latest releases: azure-mgmt-computefleet_2.0.0b1, azure-ai-projects_1.1.0b4
pre-release15 hours ago

6.0.0b1 (2025-09-11)

This version of the client library defaults to the service API version 2025-05-15-preview.

Features Added

  • Added Value Exclusion, synonyms, and new entity types to the detection of Personally Identifiable Information (PII).

Breaking Changes

  • Removed begin_abstract_summaryfor abstracting text summarization, added function begin_analyze_text_job with AbstractiveSummarizationOperationAction for this purpose.
  • Removed begin_analyze_healthcare_entitiesfor analyzing healthcare entities, added function begin_analyze_text_job with HealthcareLROTask for this purpose.
  • Removed analyze_sentimentfor analyzing sentiment, added function analyze_text with TextSentimentAnalysisInput for this purpose.
  • Removed detect_languagefor detecting language, added function analyze_text with LanguageDetectionTextInput for this purpose.
  • Removed extract_key_phrasesfor extracting key phrases, added function analyze_text with TextKeyPhraseExtractionInput for this purpose.
  • Removed begin_multi_label_classifyfor classifying documents into multiple custom categories, added function begin_analyze_text_job with CustomMultiLabelClassificationActionContent for this purpose.
  • Removed begin_recognize_custom_entitiesfor recognizing custom entities in documents, added function begin_analyze_text_job with CustomEntitiesLROTask for this purpose.
  • Removed recognize_entitiesfor recognizing named entities in a batch of documents, added function analyze_text with TextEntityRecognitionInput for this purpose.
  • Removed recognize_linked_entitiesfor detecting linked entities in a batch of documents, added function analyze_text with TextEntityLinkingInput for this purpose.
  • Removed recognize_pii_entitiesfor recognizing personally identifiable information in a batch of documents, added function analyze_text with TextPiiEntitiesRecognitionInput for this purpose.
  • Removed begin_single_label_classifyfor classifying documents into a single custom category, added function begin_analyze_text_job with CustomSingleLabelClassificationOperationAction for this purpose.

Other Changes

  • Added custom poller AnalyzeTextLROPoller and AnalyzeTextAsyncLROPoller to customize the return type of begin_analyze_text_job to be AnalyzeTextLROPoller[ItemPaged["TextActions"]] and AnalyzeTextAsyncLROPoller[AsyncItemPaged["TextActions"]]

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

NewReleases is sending notifications on new releases.