1.0.0-beta.3 (2024-08-14)
Features Added
- Added support for the Analyze Batch Documents API:
- Added method
AnalyzeBatchDocuments
toDocumentIntelligenceClient
. - Added class
AnalyzeBatchDocumentsContent
to be used as the main input of the API. - Added class
AnalyzeBatchResult
to be used as the main output of the API. - Added class
AnalyzeBatchOperationDetail
to be used as part of the output of the API.
- Added method
- Added support for different kinds of output in the Analyze Document API:
- Added method
GetAnalyzeResultPdf
toDocumentIntelligenceClient
. - Added method
GetAnalyzeResultFigures
toDocumentIntelligenceClient
. - Added type
AnalyzeOutputOption
to specify other kinds of output: eitherPdf
andFigures
. - Added parameter
output
toAnalyzeDocument
overloads inDocumentIntelligenceClient
. - Added property
Id
toDocumentFigure
.
- Added method
- Added support for the Copy Classifier API:
- Added method
AuthorizeClassifierCopy
toDocumentIntelligenceAdministrationClient
. - Added method
CopyClassifierTo
toDocumentIntelligenceAdministrationClient
. - Added class
AuthorizeClassifierCopyContent
to be used as the input of theAuthorizeClassifierCopy
API. - Added class
ClassifierCopyAuthorization
to be use das the output of theAuthorizeClassifierCopy
API. - Added class
DocumentClassifierCopyToOperationDetails
to represent a Copy Classifier operation in calls to theGetOperation
API.
- Added method
- Miscellaneous:
- Added new kind of
DocumentBuildMode
:Generative
. - Added property
Warnings
toAnalyzeResult
. - Added properties
ClassifierId
,Split
, andTrainingHours
toDocumentModelDetails
. - Added properties
ConfidenceThreshold
,Features
,MaxDocumentsToAnalyze
,ModelId
, andQueryFields
toDocumentTypeDetails
. - Added properties
AllowOverwrite
andMaxTrainingHours
toBuildDocumentModelContent
. - Exposed the constructor of
DocumentTypeDetails
and made its properties settable to support new changes to the Compose Document API. - Exposed the constructor of
DocumentFieldSchema
and made its properties settable to support new changes to the Compose Document API. - Added parameter
pages
toClassifyDocument
overloads inDocumentIntelligenceClient
. - Added properties
ClassifierId
,DocTypes
, andSplit
toComposeDocumentModelContent
. - Added property
AllowOverwrite
toBuildDocumentClassifierContent
.
- Added new kind of
Breaking Changes
DocumentIntelligenceClient
andDocumentIntelligenceAdministrationClient
now target service API version2024-07-31-preview
. Support for2024-02-29-preview
has been removed.- Removed support for extracting lists from analyzed documents:
- Removed types
DocumentList
andDocumentListItem
. - Removed property
Lists
fromAnalyzeResult
.
- Removed types
- Changes to the Compose Document API:
- Removed class
ComponentDocumentModelDetails
, originally used as part of the input of the API. - Removed property
ComponentModels
fromComposeDocumentModelContent
. ComposeDocumentModelContent
now needs a dictionary ofDocumentTypeDetails
instances and a classifier ID to be constructed.
- Removed class
- Removed type
QuotaDetails
. - Removed property
CustomNeuralDocumentModelBuilds
fromResourceDetails.
- Updated class
DocumentIntelligenceModelFactory
to reflect model changes.
Bugs Fixed
- Calling
Operation.Id
in an operation returned from the Analyze Document API won't throw aNotSupportedException
anymore. Using the operation ID to retrieve operations started previously is still not supported.