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
Document Intelligence supports more sophisticated and modular analysis capabilities. Use the add-on features to extend the results to include more features extracted from your documents. Some add-on features incur an extra cost. These optional features can be enabled and disabled depending on the scenario of the document extraction. The following add-on capabilities are available for `2023-07-31 (GA)` and later releases:
> Add-on capabilities are available within all models except for the [Read model](concept-read.md).
55
+
> Not all add-on capabilities are supported by all models. For more information, *see*[model data extraction](concept-model-overview.md#model-data-extraction).
53
56
54
57
The following add-on capability is available for `2023-10-31-preview` and later releases:
55
58
59
+
*[`keyValuePairs`](#key-value-pairs)
56
60
*[`queryFields`](#query-fields)
57
61
58
62
> [!NOTE]
@@ -159,8 +163,33 @@ The `ocr.barcode` capability extracts all identified barcodes in the `barcodes`
159
163
|`ITF`|:::image type="content" source="media/barcodes/interleaved-two-five.png" alt-text="Screenshot of the interleaved-two-of-five barcode (ITF).":::|
160
164
|`Data Matrix`|:::image type="content" source="media/barcodes/datamatrix.gif" alt-text="Screenshot of the Data Matrix.":::|
161
165
166
+
## Language detection
167
+
168
+
It predicts the detected primary language for each text line along with the `confidence` in the `languages` collection under `analyzeResult`.
169
+
170
+
```json
171
+
"languages": [
172
+
{
173
+
"spans": [
174
+
{
175
+
"offset": 0,
176
+
"length": 131
177
+
}
178
+
],
179
+
"locale": "en",
180
+
"confidence": 0.7
181
+
},
182
+
]
183
+
```
184
+
162
185
:::moniker range="doc-intel-4.0.0"
163
186
187
+
## Key-value Pairs
188
+
189
+
Key-value pairs are specific spans within the document that identify a label or key and its associated response or value. In a structured form, these pairs could be the label and the value the user entered for that field. In an unstructured document, they could be the date a contract was executed on based on the text in a paragraph. The AI model is trained to extract identifiable keys and values based on a wide variety of document types, formats, and structures.
190
+
191
+
Keys can also exist in isolation when the model detects that a key exists, with no associated value or when processing optional fields. For example, a middle name field can be left blank on a form in some instances. Key-value pairs are spans of text contained in the document. For documents where the same value is described in different ways, for example, customer/user, the associated key is either customer or user (based on context).
192
+
164
193
## Query Fields
165
194
166
195
* Document Intelligence now supports query field extractions. With query field extraction, you can add fields to the extraction process using a query request without the need for added training.
@@ -185,7 +214,7 @@ For query field extraction, specify the fields you want to extract and Document
185
214
186
215
:::image type="content" source="media/studio/query-fields.png" alt-text="Screenshot of the query fields button in Document Intelligence Studio.":::
187
216
188
-
* You can pass a list of field labels like `Party1`, `Party2`, `TermsOfUse`, `PaymentTerms`, `PaymentDate`, and `TermEndDate`" as part of the analyze document request.
217
+
* You can pass a list of field labels like `Party1`, `Party2`, `TermsOfUse`, `PaymentTerms`, `PaymentDate`, and `TermEndDate`" as part of the `analyze document` request.
189
218
190
219
:::image type="content" source="media/studio/query-field-select.png" alt-text="Screenshot of query fields selection window in Document Intelligence Studio.":::
Copy file name to clipboardExpand all lines: articles/ai-services/document-intelligence/concept-custom-label.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
@@ -127,7 +127,7 @@ Tabular fields are also useful when extracting repeating information within a do
127
127
* View the REST APIs:
128
128
129
129
> [!div class="nextstepaction"]
130
-
> [Document Intelligence API v4.0:2023-10-31-preview](https://westus.dev.cognitive.microsoft.com/docs/services/document-intelligence-api-2023-10-31-preview/operations/AnalyzeDocument)
130
+
> [Document Intelligence API v4.0:2023-10-31-preview](/rest/api/aiservices/document-models/analyze-document?view=rest-aiservices-2023-10-31-preview&preserve-view=true&tabs=HTTP)
131
131
132
132
> [!div class="nextstepaction"]
133
-
> [Document Intelligence API v3.1:2023-07-31 (GA)](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-2023-07-31/operations/AnalyzeDocument)
133
+
> [Document Intelligence API v3.1:2023-07-31 (GA)](/rest/api/aiservices/document-models/analyze-document?view=rest-aiservices-2023-07-31&preserve-view=true&tabs=HTTP)
Copy file name to clipboardExpand all lines: articles/ai-services/document-intelligence/concept-custom-neural.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,8 @@ As of October 18, 2022, Document Intelligence custom neural model training will
103
103
> [!TIP]
104
104
> You can [copy a model](disaster-recovery.md#copy-api-overview) trained in one of the select regions listed to **any other region** and use it accordingly.
105
105
>
106
-
> Use the [**REST API**](https://westus.dev.cognitive.microsoft.com/docs/services/document-intelligence-api-2023-10-31-preview/operations/CopyDocumentModelTo) or [**Document Intelligence Studio**](https://formrecognizer.appliedai.azure.com/studio/custommodel/projects) to copy a model to another region.
106
+
> Use the [**REST API**](/rest/api/aiservices/document-models/copy-model-to?view=rest-aiservices-2023-10-31-preview&preserve-view=true
107
+
&tabs=HTTP) or [**Document Intelligence Studio**](https://formrecognizer.appliedai.azure.com/studio/custommodel/projects) to copy a model to another region.
107
108
108
109
:::moniker-end
109
110
@@ -112,7 +113,7 @@ As of October 18, 2022, Document Intelligence custom neural model training will
112
113
> [!TIP]
113
114
> You can [copy a model](disaster-recovery.md#copy-api-overview) trained in one of the select regions listed to **any other region** and use it accordingly.
114
115
>
115
-
> Use the [**REST API**](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-2023-07-31/operations/CopyDocumentModelTo) or [**Document Intelligence Studio**](https://formrecognizer.appliedai.azure.com/studio/custommodel/projects) to copy a model to another region.
116
+
> Use the [**REST API**](/rest/api/aiservices/document-models/copy-model-to?view=rest-aiservices-2023-07-31&preserve-view=true&tabs=HTTP) or [**Document Intelligence Studio**](https://formrecognizer.appliedai.azure.com/studio/custommodel/projects) to copy a model to another region.
116
117
117
118
:::moniker-end
118
119
@@ -193,7 +194,7 @@ Custom neural models are available in the [v3.0 and later models](v3-1-migration
193
194
194
195
| Document Type | REST API | SDK | Label and Test Models|
0 commit comments