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-model-overview.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,12 +88,15 @@ The following table shows the available models for each current preview and stab
88
88
| [Custom classification model](#custom-classifier)| The **Custom classification model** can classify each page in an input file to identify the document(s) within and can also identify multiple documents or multiple instances of a single document within an input file.
89
89
| [Composed models](#composed-models) | Combine several custom models into a single model to automate processing of diverse document types with a single composed model.
90
90
91
-
For all models, except Business card model, Document Intelligence now supports add-on capabilities to allow for more sophisticated analysis. These optional capabilities can be enabled and disabled depending on the scenario of the document extraction. There are four add-on capabilities available for the `2023-07-31` (GA) and later API version:
91
+
For all models, except Business card model, Document Intelligence now supports add-on capabilities to allow for more sophisticated analysis. These optional capabilities can be enabled and disabled depending on the scenario of the document extraction. There are seven add-on capabilities available for the `2023-07-31` (GA) and later API version:
0 commit comments