You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/document-intelligence/quickstarts/includes/csharp-sdk.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ In this quickstart, use the following features to analyze and extract data and v
47
47
* You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
48
48
49
49
> [!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).
51
51
52
52
* 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:
53
53
@@ -62,7 +62,7 @@ In this quickstart, use the following features to analyze and extract data and v
62
62
* You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
63
63
64
64
> [!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).
66
66
67
67
* 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:
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).
28
28
29
29
### Analysis features
30
30
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*|
| prebuilt-read | ✓ | ✓ ||||| O | O || O | O | O |
34
34
| prebuilt-layout | ✓ | ✓ | ✓ | ✓ | ✓ || O | O || O | O | O |
@@ -60,7 +60,7 @@ Compared with v3.0, Document Intelligence v3.1 introduces several new features a
60
60
* New document type support in [ID document](../prebuilt/id-document.md) model.
61
61
* New prebuilt [Health insurance card](../prebuilt/health-insurance-card.md) model.
62
62
* 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).
64
64
65
65
```http
66
66
GET /documentModels/{customModelId}?api-version={apiVersion}
@@ -87,8 +87,8 @@ GET /documentModels/{customModelId}?api-version={apiVersion}
87
87
}
88
88
```
89
89
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.
* 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).
145
145
* 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.
146
146
147
147
| Model | v2.0 | v2.1 | v3.1 |
@@ -183,7 +183,7 @@ Base 64 encoding is also supported in Document Intelligence v3.0:
183
183
Parameters that continue to be supported:
184
184
185
185
*`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").
187
187
188
188
Parameters no longer supported:
189
189
@@ -193,7 +193,7 @@ The new response format is more compact and the full output is always returned.
193
193
194
194
## Changes to analyze result
195
195
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.
197
197
198
198
*`pages`
199
199
*`tables`
@@ -204,7 +204,7 @@ Analyze response is refactored to the following top-level results to support mul
204
204
205
205
> [!NOTE]
206
206
>
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`.
208
208
209
209
```json
210
210
@@ -373,7 +373,7 @@ POST https://{your-form-recognizer-endpoint}/formrecognizer/documentModels:compo
373
373
The call pattern for copy model remains unchanged:
374
374
375
375
* 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```
377
377
* Poll the returned operation to validate the operation completed successfully
378
378
379
379
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
415
415
GET https://{your-form-recognizer-endpoint}/formrecognizer/documentModels?api-version=2022-08-31
416
416
```
417
417
418
-
## Change to get model
418
+
## Change to get model operation
419
419
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.
421
421
422
422
```json
423
423
GET https://{your-form-recognizer-endpoint}/formrecognizer/documentModels/{modelId}?api-version=2022-08-31
0 commit comments