3.2.0b3 (2022-02-10)
Features Added
- Added new
CurrencyValue
model to represent the amount and currency symbol values found in documents. - Added
DocumentBuildMode
enum with valuestemplate
andneural
. These enum values can be passed in for thebuild_mode
parameter inbegin_build_model()
. - Added
api_version
andtags
properties onModelOperation
,ModelOperationInfo
,DocumentModel
,DocumentModelInfo
. - Added
build_mode
property onDocTypeInfo
. - Added a
tags
keyword argument tobegin_build_model()
,begin_create_composed_model()
, andget_copy_authorization()
. - Added
languages
property onAnalyzeResult
. - Added model
DocumentLanguage
that includes information about the detected languages found in a document. - Added
sample_analyze_read.py
andsample_analyze_read_async.py
under thev3.2-beta
samples directory. These samples use the newprebuilt-read
model added by the service. - Added
sample_analyze_tax_us_w2.py
andsample_analyze_tax_us_w2_async.py
under thev3.2-beta
samples directory. These samples use the newprebuilt-tax.us.w2
model added by the service.
Breaking Changes
- Added new required parameter
build_mode
tobegin_build_model()
. - Some models that previously returned float for currency related fields may now return a
CurrencyValue
. TIP: Useget_model()
to see updated prebuilt model schemas.
Bugs Fixed
- Default the
percent_completed
property to 0 when not returned with model operation information.
Other Changes
- Python 2.7 is no longer supported in this release. Please use Python 3.6 or later.
- Bumped
azure-core
minimum dependency version from1.13.0
to1.20.1
. - Updated samples that call
begin_build_model()
to send thebuild_mode
parameter.