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
Azure AI Document Intelligence supports a wide variety of models that enable you to add intelligent document processing to your applications and optimize your workflows. Selecting the right model is essential to ensure the success of your enterprise. In this article, we explore the available Document Intelligence models and provide guidance for how to choose the best solution for your projects.
This article highlights the best methods for labeling custom model datasets in the Document Intelligence Studio. Labeling documents can be time consuming when you have a large number of labels, long documents, or documents with varying structure. These tips should help you label documents more efficiently.
Custom neural document models or neural models are a deep learned model type that combines layout and language features to accurately extract labeled fields from documents. The base custom neural model is trained on various document types that makes it suitable to be trained for extracting fields from structured, semi-structured, and unstructured documents. Custom neural models are available in the [v3.0 and later models](v3-1-migration-guide.md) The table below lists common document types for each category:
[Document Intelligence Studio](https://documentintelligence.ai.azure.com/) is an online tool for visually exploring, understanding, and integrating features from the Document Intelligence service into your applications. Use the Document Intelligence Studio to:
The General document model combines powerful Optical Character Recognition (OCR) capabilities with deep learning models to extract key-value pairs, tables, and selection marks from documents. General document is available with the v3.1 and v3.0 APIs. For more information, _see_ our [migration guide](v3-1-migration-guide.md).
The Document Intelligence health insurance card model combines powerful Optical Character Recognition (OCR) capabilities with deep learning models to analyze and extract key information from US health insurance cards. A health insurance card is a key document for care processing and can be digitally analyzed for patient onboarding, financial coverage information, cashless payments, and insurance claim processing. The health insurance card model analyzes health card images; extracts key information such as insurer, member, prescription, and group number; and returns a structured JSON representation. Health insurance cards can be presented in various formats and quality including phone-captured images, scanned documents, and digital PDFs.
Copy file name to clipboardExpand all lines: articles/ai-services/document-intelligence/how-to-guides/includes/set-environment-variables.md
+22-31Lines changed: 22 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ manager: nitinme
6
6
ms.service: azure-ai-document-intelligence
7
7
ms.custom: linux-related-content
8
8
ms.topic: include
9
-
ms.date: 08/21/2023
9
+
ms.date: 03/28/2024
10
10
ms.author: lajanuar
11
11
---
12
12
@@ -19,7 +19,7 @@ To interact with the Document Intelligence service, you need to create an instan
19
19
20
20
> [!IMPORTANT]
21
21
>
22
-
> Don't include your key directly in the code and never post it publicly. For production, use a secure way to store and access your credentials, such as [Azure Key Vault](../../../../../ai-services/use-key-vault.md). For more information, see [Azure AI services security](../../../../../ai-services/security-features.md).
22
+
> Don't include your key directly in the code and never post it publicly. For production, use a secure way to store and access your credentials, such as [Azure Key Vault](../../../../ai-services/use-key-vault.md). For more information, see [Azure AI services security](../../../../ai-services/security-features.md).
23
23
24
24
To set the environment variable for your Document Intelligence resource key, open a console window, and follow the instructions for your operating system and development environment. Replace *\<yourKey>* and *\<yourEndpoint>* with the values from your resource in the Azure portal.
25
25
@@ -30,29 +30,26 @@ Environment variables in Windows aren't case-sensitive. They're typically declar
30
30
1. Set your key variable:
31
31
32
32
```console
33
-
setx FR_KEY <yourKey>
33
+
setx DI_KEY <yourKey>
34
34
```
35
35
36
36
1. Set your endpoint variable
37
37
38
38
```console
39
-
setx FR_ENDPOINT <yourEndpoint>
39
+
setx DI_ENDPOINT <yourEndpoint>
40
40
```
41
41
42
-
1.After you set your environment variables, close the Command Prompt window. The values remain modified until you change them again.
42
+
1.Close the Command Prompt window after you set your environment variables. The values remain until you change them again.
43
43
44
44
1. Restart any running programs that read the environment variable. For example, if you're using Visual Studio or Visual Studio Code as your editor, restart before running the sample code.
45
45
46
-
<!-- > [!div class="nextstepaction"]
47
-
> [I ​ran into an issue setting the environment variables.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=windows&Product=FormRecognizer&Page=how-to&Section=environment-variables) -->
48
-
49
46
Here are a few more helpful commands to use with environment variables:
50
47
51
48
| Command | Action | Example |
52
49
|---------|--------|---------|
53
-
|`setx VARIABLE_NAME=`| Delete the environment variable by setting the value to an empty string.|`setx FR_KEY=`|
54
-
|`setx VARIABLE_NAME=value`| Set or change the value of an environment variable.|`setx FR_KEY=<yourKey>`|
55
-
|`set VARIABLE_NAME`| Display the value of a specific environment variable.|`set FR_KEY`|
50
+
|`setx VARIABLE_NAME=`| Delete the environment variable by setting the value to an empty string.|`setx DI_KEY=`|
51
+
|`setx VARIABLE_NAME=value`| Set or change the value of an environment variable.|`setx DI_KEY=<yourKey>`|
52
+
|`set VARIABLE_NAME`| Display the value of a specific environment variable.|`set DI_KEY`|
56
53
|`set`| Display all environment variables.|`set`|
57
54
58
55
#### [macOS](#tab/macOS)
@@ -78,29 +75,26 @@ To set an environment variable permanently, place an export command in your Bash
78
75
1. Use a text editor to open the *~/.bash_profile* file and add the following command to create a permanent environment variable:
79
76
80
77
```bash
81
-
exportFR_KEY=<yourKey>FR_ENDPOINT=<yourEndpoint>
78
+
exportDI_KEY=<yourKey>DI_ENDPOINT=<yourEndpoint>
82
79
```
83
80
84
-
Example: `export FR_KEY="<yourKey>"`
81
+
Example: `export DI_KEY="<yourKey>"`
85
82
86
-
1. Save your changes to the *.bash_profile* file.
83
+
1. Save your changes to the *bash_profile* file.
87
84
88
-
1. Run the following command from your terminal window to make the changes effective:
85
+
1. To make the changes effective, run the following command from your terminal window:
89
86
90
87
```bash
91
88
source~/.bash-profile
92
89
```
93
90
94
-
<!-- > [!div class="nextstepaction"]
95
-
> [I ​ran into an issue setting the environment variables.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=macos&Product=FormRecognizer&Page=how-to&Section=environment-variables) -->
96
-
97
91
Here are a few more helpful commands to use with environment variables:
98
92
99
93
| Command | Action | Example |
100
94
|---------|--------|---------|
101
-
|`unset VARIABLE_NAME`| Delete an environment variable.|`unset FR_KEY`|
102
-
|`export VARIABLE_NAME=value`| Set or change the value of a temporary environment variable.|`export FR_KEY=<yourKey>`|
103
-
|`printenv VARIABLE_NAME`</br>`echo $VARIABLE_NAME`| Display the value of a specific environment variable. With the `echo` command, precede the variable with `$`.|`printenv FR_KEY`</br>`echo $FR_KEY`|
95
+
|`unset VARIABLE_NAME`| Delete an environment variable.|`unset DI_KEY`|
96
+
|`export VARIABLE_NAME=value`| Set or change the value of a temporary environment variable.|`export DI_KEY=<yourKey>`|
97
+
|`printenv VARIABLE_NAME`</br>`echo $VARIABLE_NAME`| Display the value of a specific environment variable. With the `echo` command, precede the variable with `$`.|`printenv DI_KEY`</br>`echo $DI_KEY`|
104
98
|`printenv`| Display all environment variables.|`printenv`|
105
99
106
100
#### [Linux](#tab/linux)
@@ -112,13 +106,13 @@ The `export` command sets the variable and exports it to the global environment,
112
106
1. Set your key variable:
113
107
114
108
```bash
115
-
exportFR_KEY=<yourKey>
109
+
exportDI_KEY=<yourKey>
116
110
```
117
111
118
112
1. Set your endpoint variable:
119
113
120
114
```bash
121
-
exportFR_ENDPOINT=<yourEndpoint>
115
+
exportDI_ENDPOINT=<yourEndpoint>
122
116
```
123
117
124
118
To set an environment variable permanently, place an exportcommandin your Bash `~/.bashrc` startup script:
@@ -129,26 +123,23 @@ To set an environment variable permanently, place an export command in your Bash
129
123
export<VARIABLE>=<value>
130
124
```
131
125
132
-
Example: `export FR_KEY=<yourKey>`
126
+
Example: `export DI_KEY=<yourKey>`
133
127
134
128
1. Save your changes to the *.bashrc* file.
135
129
136
-
1. Run the following command from your terminal window to make the changes effective:
130
+
1. To make the changes effective, run the following command from your terminal window:
137
131
138
132
```bash
139
133
source~/.bashrc
140
134
```
141
135
142
-
<!-- > [!div class="nextstepaction"]
143
-
> [I ​ran into an issue setting the environment variables.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=linux&Product=FormRecognizer&Page=how-to&Section=environment-variables) -->
144
-
145
136
Here are a few more helpful commands to use with environment variables:
146
137
147
138
| Command | Action | Example |
148
139
|---------|--------|---------|
149
-
|`unset VARIABLE_NAME`| Delete an environment variable.|`unset FR_KEY=`|
150
-
|`export VARIABLE_NAME=value`| Set or change the value of a temporary environment variable.|`export FR_KEY={yourKey}`|
151
-
|`printenv VARIABLE_NAME`</br>`echo $VARIABLE_NAME`| Display the value of an environment variable. With the `echo` command, precede the variable with `$`.|`printenv FR_KEY`</br>`echo $FR_KEY`|
140
+
|`unset VARIABLE_NAME`| Delete an environment variable.|`unset DI_KEY=`|
141
+
|`export VARIABLE_NAME=value`| Set or change the value of a temporary environment variable.|`export DI_KEY={yourKey}`|
142
+
|`printenv VARIABLE_NAME`</br>`echo $VARIABLE_NAME`| Display the value of an environment variable. With the `echo` command, precede the variable with `$`.|`printenv DI_KEY`</br>`echo $DI_KEY`|
152
143
|`printenv`| Display all environment variables.|`printenv`|
0 commit comments