Skip to content

Commit 602bda2

Browse files
committed
update migration guide
1 parent 071a2b0 commit 602bda2

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

articles/ai-services/document-intelligence/quickstarts/includes/csharp-sdk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ In this quickstart, use the following features to analyze and extract data and v
4747
* You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
4848

4949
> [!TIP]
50-
> Create an Azure AI services resource if you plan to access multiple Azure AI services under a single endpoint/key. For Document Intelligence access only, create a Document Intelligence resource. Please note that you'll need a single-service resource if you intend to use [Microsoft Entra authentication](/azure/active-directory/authentication/overview-authentication).
50+
> Create an Azure AI services resource if you plan to access multiple Azure AI services under a single endpoint/key. For Document Intelligence access only, create a Document Intelligence resource. You need a single-service resource if you intend to use [Microsoft Entra authentication](/azure/active-directory/authentication/overview-authentication).
5151
5252
* After your resource deploys, select **Go to resource**. You need the key and endpoint from the resource you create to connect your application to the Document Intelligence API. You paste your key and endpoint into the code later in the quickstart:
5353

@@ -62,7 +62,7 @@ In this quickstart, use the following features to analyze and extract data and v
6262
* You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
6363

6464
> [!TIP]
65-
> Create an Azure AI services resource if you plan to access multiple Azure AI services under a single endpoint/key. For Form Recognizer access only, create a Form Recognizer resource. Please note that you'll need a single-service resource if you intend to use [Microsoft Entra authentication](/azure/active-directory/authentication/overview-authentication).
65+
> Create an Azure AI services resource if you plan to access multiple Azure AI services under a single endpoint/key. For Form Recognizer access only, create a Form Recognizer resource. You need a single-service resource if you intend to use [Microsoft Entra authentication](/azure/active-directory/authentication/overview-authentication).
6666
6767
* After your resource deploys, select **Go to resource**. You need the key and endpoint from the resource you create to connect your application to the Form Recognizer API. You paste your key and endpoint into the code later in the quickstart:
6868

articles/ai-services/document-intelligence/versioning/v3-1-migration-guide.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ monikerRange: '<=doc-intel-3.1.0'
1212
---
1313

1414
<!-- markdownlint-disable MD004 -->
15-
# Document Intelligence v3.1 migration
15+
# Document Intelligence v4.0 migration
1616

1717
::: moniker range="<=doc-intel-3.1.0"
1818
[!INCLUDE [applies to v3.1, v3.0, and v2.1](../includes/applies-to-v40-v31-v30-v21.md)]
@@ -24,11 +24,11 @@ monikerRange: '<=doc-intel-3.1.0'
2424
2525
## Migrating from v3.1 API version
2626

27-
Preview APIs are periodically deprecated. If you're using a preview API version, update your application to target the GA API version. To migrate from a preview API version to the `2024-11-30 (GA)` API version using the SDK, update to the [current version of the language specific SDK](sdk-overview-v3-1.md).
27+
Preview APIs are periodically deprecated. If you're using a preview API version, update your application to target the GA API version. To migrate from a preview API version to the `2024-11-30 (GA)` API version using the SDK, update to the [current version of the language specific SDK](sdk-overview-v4-0.md).
2828

2929
### Analysis features
3030

31-
| Model ID | Text Extraction | Paragraphs | Paragraph Roles | Selection Marks | Tables | Key-Value Pairs | Languages | Barcodes | Document Analysis | Formulas* | StyleFont* | OCR High Resolution* |
31+
| Model ID | Text Extraction | Paragraphs | Paragraph Roles | Selection Marks | Tables | Key-Value Pairs | Languages | Barcodes | Document Analysis | Formulas* | StyleFont* | `OCR` High Resolution* |
3232
| --- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
3333
| prebuilt-read ||| | | | | O | O | | O | O | O |
3434
| prebuilt-layout |||||| | O | O | | O | O | O |
@@ -60,7 +60,7 @@ Compared with v3.0, Document Intelligence v3.1 introduces several new features a
6060
* New document type support in [ID document](../prebuilt/id-document.md) model.
6161
* New prebuilt [Health insurance card](../prebuilt/health-insurance-card.md) model.
6262
* Office/HTML files are supported in prebuilt-read model, extracting words and paragraphs without bounding boxes. Embedded images are no longer supported. If add-on features are requested for Office/HTML files, an empty array is returned without errors.
63-
* Model expiration for custom extraction and classification models - Our new custom models build upon on a large base model that we update periodically for quality improvement. An expiration date is introduced to all custom models to enable the retirement of the corresponding base models. Once a custom model expires, you need to retrain the model using the latest API version (base model).
63+
* Model expiration for custom extraction and classification models - Our new custom models build upon on a large base model that we update periodically for quality improvement. An expiration date is introduced to all custom models to enable the retirement of the corresponding base models. Once a custom model expires, you need to retrain the model using the latest API version (base model).
6464

6565
```http
6666
GET /documentModels/{customModelId}?api-version={apiVersion}
@@ -87,8 +87,8 @@ GET /documentModels/{customModelId}?api-version={apiVersion}
8787
}
8888
```
8989

90-
* An optional `features` query parameter to Analyze operations can optionally enable specific features. Some premium features can incur added billing. Refer to [Analyze feature list](#analysis-features) for details.
91-
* Extend extracted currency field objects to output a normalized currency code field when possible. Currently, current fields can return amount (ex. 123.45) and currencySymbol (ex. $). This feature maps the currency symbol to a canonical ISO 4217 code (ex. USD). The model can optionally utilize the global document content to disambiguate or infer the currency code.
90+
* An optional `features` query parameter to Analyze operations can optionally enable specific features. Some premium features can incur added billing. Refer to [Analyze feature list](#analysis-features) for details.
91+
* Extend extracted currency field objects to output a normalized currency code field when possible. Currently, current fields can return amount (ex. 123.45) and currencySymbol (ex. $). This feature maps the currency symbol to a canonical ISO 4217 code (ex. USD). The model can optionally utilize the global document content to disambiguate or infer the currency code.
9292

9393
```http
9494
{
@@ -140,8 +140,8 @@ https://{your-form-recognizer-endpoint}/formrecognizer/documentModels/{modelId}/
140140
### Analyze operation
141141

142142
* The request payload and call pattern remain unchanged.
143-
* The Analyze operation specifies the input document and content-specific configurations, it returns the analyze result URL via the Operation-Location header in the response.
144-
* Poll this Analyze Result URL, via a GET request to check the status of the analyze operation (minimum recommended interval between requests is 1 second).
143+
* The `Analyze` operation specifies the input document and content-specific configurations, it returns the analyzed result URL via the Operation-Location header in the response.
144+
* Poll the `Analyze Result` URL, via a GET request to check the status of the `Analyze` operation (minimum recommended interval between requests is 1 second).
145145
* Upon success, status is set to succeeded and [analyzeResult](#changes-to-analyze-result) is returned in the response body. If errors are encountered, status sets to `failed`, and an error is returned.
146146

147147
| Model | v2.0 | v2.1 | v3.1 |
@@ -183,7 +183,7 @@ Base 64 encoding is also supported in Document Intelligence v3.0:
183183
Parameters that continue to be supported:
184184

185185
* `pages` : Analyze only a specific subset of pages in the document. List of page numbers indexed from the number `1` to analyze. Ex. "1-3,5,7-9"
186-
* `locale` : Locale hint for text recognition and document analysis. Value can contain only the language code (ex. `en`, `fr`) or BCP 47 language tag (ex. "en-US").
186+
* `locale` : Locale hint for text recognition and document analysis. Value can contain only the language code (ex. `en`, `fr`) or `BCP` 47 language tag (ex. "en-US").
187187

188188
Parameters no longer supported:
189189

@@ -193,7 +193,7 @@ The new response format is more compact and the full output is always returned.
193193

194194
## Changes to analyze result
195195

196-
Analyze response is refactored to the following top-level results to support multi-page elements.
196+
Analyze response is refactored to the following top-level results and supports multi-page elements.
197197

198198
* `pages`
199199
* `tables`
@@ -204,7 +204,7 @@ Analyze response is refactored to the following top-level results to support mul
204204

205205
> [!NOTE]
206206
>
207-
> The analyzeResult response changes includes a number of changes like moving up from a property of pages to a top lever property within analyzeResult.
207+
> The `analyzeResult` response changes include changes such as moving up from a property of pages to a top lever property within `analyzeResult`.
208208
209209
```json
210210

@@ -373,7 +373,7 @@ POST https://{your-form-recognizer-endpoint}/formrecognizer/documentModels:compo
373373
The call pattern for copy model remains unchanged:
374374

375375
* Authorize the copy operation with the target resource calling ```authorizeCopy```. Now a POST request.
376-
* Submit the authorization to the source resource to copy the model calling ```copyTo```
376+
* Submit the authorization to the source resource and copy the model calling ```copyTo```
377377
* Poll the returned operation to validate the operation completed successfully
378378

379379
The only changes to the copy model function are:
@@ -415,9 +415,9 @@ List models are extended to now return prebuilt and custom models. All prebuilt
415415
GET https://{your-form-recognizer-endpoint}/formrecognizer/documentModels?api-version=2022-08-31
416416
```
417417

418-
## Change to get model
418+
## Change to get model operation
419419

420-
As get model now includes prebuilt models, the get operation returns a ```docTypes``` dictionary. Each document type description includes name, optional description, field schema, and optional field confidence. The field schema describes the list of fields potentially returned with the document type.
420+
As `Get Model` now includes prebuilt models, the `Get` operation returns a ```docTypes``` dictionary. Each document type description includes name, optional description, field schema, and optional field confidence. The field schema describes the list of fields potentially returned with the document type.
421421

422422
```json
423423
GET https://{your-form-recognizer-endpoint}/formrecognizer/documentModels/{modelId}?api-version=2022-08-31

0 commit comments

Comments
 (0)