-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Document Intelligence] Release 1.0.0 GA (#31746)
## Release Marks the GA 1.0.0 release for `@azure-rest/ai-document-intelligence` ## Codegen Regenerated from https://github.com/Azure/azure-rest-api-specs/tree/main/specification/ai/DocumentIntelligence **Commit Id**: [67c84bd51ccfca841c39f274b9147347abed3f66](Azure/azure-rest-api-specs@67c84bd) **API Version**: 2024-11-30 ## Changelog ### Features Added - New `parseOperationIdFromResponse` method has been added to parse `operationId` from the initial response of batch analysis requests which can later be used to get the analysis results. ```js // Example const initialResponse = await client .path("/documentModels/{modelId}:analyzeBatch", "prebuilt-layout") .post({ contentType: "application/json", body: { azureBlobSource: { containerUrl: batchTrainingFilesContainerUrl(), }, resultContainerUrl: batchTrainingFilesResultContainerUrl(), resultPrefix: "result", }, }); if (isUnexpected(initialResponse)) { throw initialResponse.body.error; } const batchOperationId = parseOperationIdFromResponse(initialResponse); const response = await client .path( "/documentModels/{modelId}/analyzeBatchResults/{resultId}", "prebuilt-layout", batchOperationId, ) .get(); ``` Look at changelog for more features and changes. --------- Co-authored-by: Deyaaeldeen Almahallawi <[email protected]>
- Loading branch information
1 parent
203036d
commit 7644726
Showing
78 changed files
with
1,948 additions
and
1,374 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
119 changes: 103 additions & 16 deletions
119
sdk/documentintelligence/ai-document-intelligence-rest/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.