4.0.0-beta.3 (2022-02-10)
Features Added
- Added the
DocumentField.AsCurrency
method and theDocumentFieldType.Currency
enum value to support analyzed currency fields. - Added the
Languages
property to theAnalyzeResult
class. This property is populated when using theprebuilt-read
model and holds information about the languages in which the document is written. - Added the
Tags
property to theBuildModelOptions
class. This property can be used to specify custom key-value attributes associated with the model to be built. - Added the
Tags
property to theDocumentModelInfo
and to theModelOperationInfo
classes. - Added the
BuildMode
property toDocTypeInfo
to indicate the technique used when building the correspoding model. - Added the
DocumentAnalysisModelFactory
static class to theAzure.AI.FormRecognizer.DocumentAnalysis
namespace. It contains methods for instantiatingDocumentAnalysis
models for mocking.
Breaking Changes
- Added the required parameter
buildMode
toStartBuildModel
methods. Users must now choose the technique (Template
orNeural
) used to build models. For more information about the available build modes and their differences, see here. - Added the
tags
parameter to theGetCopyAuthorization
methods. - Added the
tags
parameter to theStartCreateComposedModel
methods. - The
DocumentAnalysisClient
andDocumentModelAdministrationClient
now target the service version2022-01-30-preview
, so they don't support2021-09-30-preview
anymore.
Bugs Fixed
- FormRecognizerAudience and DocumentAnalysisAudience have been added to allow the user to select the Azure cloud where the resource is located. Issue 17192.