Added support for the Analyze Batch Documents API:
Added LRO operation begin_analyze_batch_documents() to DocumentIntelligenceClient.
Added models AnalyzeBatchDocumentsRequest, AnalyzeBatchResult and AnalyzeBatchOperationDetail.
Added support for different kinds of output in the Analyze Document API:
Added operations get_analyze_result_figure() and get_analyze_result_pdf() to DocumentIntelligenceClient.
Added optional kwarg output to LRO operation begin_analyze_document() overloads in DocumentIntelligenceClient.
Added enum AnalyzeOutputOption to specify output kind, either pdf or figures.
Added property id to model DocumentFigure.
Added support for the Copy Classifier API:
Added operations authorize_classifier_copy() and begin_copy_classifier_to() to DocumentIntelligenceAdministrationClient.
Added models AuthorizeClassifierCopyRequest and ClassifierCopyAuthorization.
Added optional kwarg pages to LRO operation begin_classify_document() overloads in DocumentIntelligenceClient.
Added new kind GENERATIVE to enum DocumentBuildMode.
Added property warnings to model AnalyzeResult.
Added properties classifier_id, split, and training_hours to model DocumentModelDetails.
Added properties model_id, confidence_threshold, features, query_fields and max_documents_to_analyze to model DocumentTypeDetails.
Added property allow_overwrite to model BuildDocumentClassifierRequest.
Added properties allow_overwrite and max_training_hours to model BuildDocumentModelRequest.
Added properties classifier_id, split and doc_types to model ComposeDocumentModelRequest.
Added support for getting operation_id via details property in the new return types AnalyzeDocumentLROPoller and AsyncAnalyzeDocumentLROPoller in operation begin_analyze_document().
Breaking Changes
Removed support for extracting lists from analyzed documents:
Removed models DocumentList and DocumentListItem.
Removed property lists from model AnalyzeResult.
Changes to the Compose Document API:
Removed model ComponentDocumentModelDetails.
Removed property component_models from model ComposeDocumentModelRequest.
ComposeDocumentModelRequest now requires a dictionary of DocumentTypeDetails instances and a classifier ID to be constructed.
Removed model QuotaDetails.
Removed property custom_neural_document_model_builds from model ResourceDetails.
Changed the required property field_schema from DocumentTypeDetails to be optional.
Other Changes
Changed the default service API version to 2024-07-31-preview.
Improved performance by about 1.5X faster when deserializing JSON to an AnalyzeResult object compared to last version 1.0.0b3.
Commits
6b5ce2d [DI] Add tests and samples for new API (#37197)
d85e6c3 Revert "update the package namespaces for all packages in the artifact direct...
58ac142 Increment package version after release of azure-monitor-opentelemetry (#37218)
526dca6 [Core] Add new token class and protocols (#36565)
5cf3b46 [ServiceBus] unskip complete message over diff recvr test for uamqp (#37192)
66ccfb8 update job run condition for Analyze job (#37212)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps azure-ai-documentintelligence from 1.0.0b3 to 1.0.0b4.
Release notes
Sourced from azure-ai-documentintelligence's releases.
Commits
6b5ce2d
[DI] Add tests and samples for new API (#37197)d85e6c3
Revert "update the package namespaces for all packages in the artifact direct...58ac142
Increment package version after release of azure-monitor-opentelemetry (#37218)526dca6
[Core] Add new token class and protocols (#36565)5cf3b46
[ServiceBus] unskip complete message over diff recvr test for uamqp (#37192)66ccfb8
update job run condition for Analyze job (#37212)78857ec
Handle CG Failures (#37204)16aa1e2
Replace aka.ms with pypi.org link (#37215)5eba2a8
Update dev_requirements.txt (#37213)407e15f
[AutoRelease] t2-billing-2024-09-02-52526(can only be merged by SDK owner) (#...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show