5.2.0b5 (2022-08-11)
The version of this client library defaults to the API version 2022-05-01
.
Features Added
- Added
begin_recognize_custom_entities
client method to recognize custom named entities in documents. - Added
begin_single_label_classify
client method to perform custom single label classification on documents. - Added
begin_multi_label_classify
client method to perform custom multi label classification on documents. - Added property
details
on returned poller objects which contain long-running operation metadata. - Added
TextAnalysisLROPoller
andAsyncTextAnalysisLROPoller
protocols to describe the return types from long-running operations. - Added
cancel
method on the poller objects. Call it to cancel a long-running operation that's in progress. - Added property
kind
toRecognizeEntitiesResult
,RecognizePiiEntitiesResult
,AnalyzeHealthcareEntitiesResult
,
DetectLanguageResult
,ExtractKeyPhrasesResult
,RecognizeLinkedEntitiesResult
,AnalyzeSentimentResult
,
RecognizeCustomEntitiesResult
,ClassifyDocumentResult
, andDocumentError
. - Added enum
TextAnalysisKind
.
Breaking Changes
- Removed the Extractive Text Summarization feature and related models:
ExtractSummaryAction
,ExtractSummaryResult
, andSummarySentence
. To access this beta feature, install the5.2.0b4
version of the client library. - Removed the
FHIR
feature and related keyword argument and property:fhir_version
andfhir_bundle
. To access this beta feature, install the5.2.0b4
version of the client library. SingleCategoryClassifyResult
andMultiCategoryClassifyResult
models have been merged into one model:ClassifyDocumentResult
.- Renamed
SingleCategoryClassifyAction
toSingleLabelClassifyAction
- Renamed
MultiCategoryClassifyAction
toMultiLabelClassifyAction
.
Bugs Fixed
- A
HttpResponseError
will be immediately raised when the call quota volume is exceeded in aF0
tier Language resource.
Other Changes
- Python 3.6 is no longer supported. Please use Python version 3.7 or later. For more details, see Azure SDK for Python version support policy.