You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,26 @@
1
1
# Release History
2
2
3
-
## 3.2.0b3 (Unreleased)
3
+
## 3.2.0b3 (2022-02-10)
4
4
5
5
### Features Added
6
+
- Added new `CurrencyValue` model to represent the amount and currency symbol values found in documents.
7
+
- Added `DocumentBuildMode` enum with values `template` and `neural`. These enum values can be passed in for the `build_mode` parameter in `begin_build_model()`.
8
+
- Added `api_version` and `tags` properties on `ModelOperation`, `ModelOperationInfo`, `DocumentModel`, `DocumentModelInfo`.
9
+
- Added `build_mode` property on `DocTypeInfo`.
10
+
- Added a `tags` keyword argument to `begin_build_model()`, `begin_create_composed_model()`, and `get_copy_authorization()`.
11
+
- Added `languages` property on `AnalyzeResult`.
12
+
- Added model `DocumentLanguage` that includes information about the detected languages found in a document.
13
+
- Added `sample_analyze_read.py` and `sample_analyze_read_async.py` under the `v3.2-beta` samples directory. These samples use the new `prebuilt-read` model added by the service.
14
+
- Added `sample_analyze_tax_us_w2.py` and `sample_analyze_tax_us_w2_async.py` under the `v3.2-beta` samples directory. These samples use the new `prebuilt-tax.us.w2` model added by the service.
6
15
7
16
### Breaking Changes
8
-
9
-
### Bugs Fixed
10
-
- Default the `percent_completed` property to 0 when not returned with model operation information.
17
+
- Added new required parameter `build_mode` to `begin_build_model()`.
18
+
- Some models that previously returned float for currency related fields may now return a `CurrencyValue`. TIP: Use `get_model()` to see updated prebuilt model schemas.
11
19
12
20
### Other Changes
13
21
- Python 2.7 is no longer supported in this release. Please use Python 3.6 or later.
22
+
- Bumped `azure-core` minimum dependency version from `1.13.0` to `1.20.1`.
23
+
- Updated samples that call `begin_build_model()` to send the `build_mode` parameter.
Copy file name to clipboardExpand all lines: sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_document_model_administration_client.py
+32-8Lines changed: 32 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@
27
27
from ._form_base_clientimportFormRecognizerClientBase
28
28
from ._document_analysis_clientimportDocumentAnalysisClient
29
29
from ._modelsimport (
30
+
DocumentBuildMode,
30
31
DocumentModel,
31
32
DocumentModelInfo,
32
33
ModelOperation,
@@ -85,7 +86,7 @@ class DocumentModelAdministrationClient(FormRecognizerClientBase):
0 commit comments