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/how-to-guides/includes/set-environment-variables.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,13 +29,13 @@ Environment variables in Windows aren't case-sensitive. They're typically declar
29
29
1. Set your key variable:
30
30
31
31
```console
32
-
setx FR_KEY <yourKey>
32
+
setx DI_KEY <yourKey>
33
33
```
34
34
35
35
1. Set your endpoint variable
36
36
37
37
```console
38
-
setx FR_ENDPOINT <yourEndpoint>
38
+
setx DI_ENDPOINT <yourEndpoint>
39
39
```
40
40
41
41
1. After you set your environment variables, close the Command Prompt window. The values remain modified until you change them again.
@@ -49,9 +49,9 @@ Here are a few more helpful commands to use with environment variables:
49
49
50
50
| Command | Action | Example |
51
51
|---------|--------|---------|
52
-
|`setx VARIABLE_NAME=`| Delete the environment variable by setting the value to an empty string.|`setx FR_KEY=`|
53
-
|`setx VARIABLE_NAME=value`| Set or change the value of an environment variable.|`setx FR_KEY=<yourKey>`|
54
-
|`set VARIABLE_NAME`| Display the value of a specific environment variable.|`set FR_KEY`|
52
+
|`setx VARIABLE_NAME=`| Delete the environment variable by setting the value to an empty string.|`setx DI_KEY=`|
53
+
|`setx VARIABLE_NAME=value`| Set or change the value of an environment variable.|`setx DI_KEY=<yourKey>`|
54
+
|`set VARIABLE_NAME`| Display the value of a specific environment variable.|`set DI_KEY`|
55
55
|`set`| Display all environment variables.|`set`|
56
56
57
57
#### [macOS](#tab/macOS)
@@ -77,10 +77,10 @@ To set an environment variable permanently, place an export command in your Bash
77
77
1. Use a text editor to open the *~/.bash_profile* file and add the following command to create a permanent environment variable:
78
78
79
79
```bash
80
-
exportFR_KEY=<yourKey>FR_ENDPOINT=<yourEndpoint>
80
+
exportDI_KEY=<yourKey>DI_ENDPOINT=<yourEndpoint>
81
81
```
82
82
83
-
Example: `export FR_KEY="<yourKey>"`
83
+
Example: `export DI_KEY="<yourKey>"`
84
84
85
85
1. Save your changes to the *.bash_profile* file.
86
86
@@ -97,9 +97,9 @@ Here are a few more helpful commands to use with environment variables:
97
97
98
98
| Command | Action | Example |
99
99
|---------|--------|---------|
100
-
|`unset VARIABLE_NAME`| Delete an environment variable.|`unset FR_KEY`|
101
-
|`export VARIABLE_NAME=value`| Set or change the value of a temporary environment variable.|`export FR_KEY=<yourKey>`|
102
-
|`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`|
100
+
|`unset VARIABLE_NAME`| Delete an environment variable.|`unset DI_KEY`|
101
+
|`export VARIABLE_NAME=value`| Set or change the value of a temporary environment variable.|`export DI_KEY=<yourKey>`|
102
+
|`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`|
103
103
|`printenv`| Display all environment variables.|`printenv`|
104
104
105
105
#### [Linux](#tab/linux)
@@ -111,13 +111,13 @@ The `export` command sets the variable and exports it to the global environment,
111
111
1. Set your key variable:
112
112
113
113
```bash
114
-
exportFR_KEY=<yourKey>
114
+
exportDI_KEY=<yourKey>
115
115
```
116
116
117
117
1. Set your endpoint variable:
118
118
119
119
```bash
120
-
exportFR_ENDPOINT=<yourEndpoint>
120
+
exportDI_ENDPOINT=<yourEndpoint>
121
121
```
122
122
123
123
To set an environment variable permanently, place an exportcommandin your Bash `~/.bashrc` startup script:
@@ -128,7 +128,7 @@ To set an environment variable permanently, place an export command in your Bash
128
128
export<VARIABLE>=<value>
129
129
```
130
130
131
-
Example: `export FR_KEY=<yourKey>`
131
+
Example: `export DI_KEY=<yourKey>`
132
132
133
133
1. Save your changes to the *.bashrc* file.
134
134
@@ -145,9 +145,9 @@ Here are a few more helpful commands to use with environment variables:
145
145
146
146
| Command | Action | Example |
147
147
|---------|--------|---------|
148
-
|`unset VARIABLE_NAME`| Delete an environment variable.|`unset FR_KEY=`|
149
-
|`export VARIABLE_NAME=value`| Set or change the value of a temporary environment variable.|`export FR_KEY={yourKey}`|
150
-
|`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`|
148
+
|`unset VARIABLE_NAME`| Delete an environment variable.|`unset DI_KEY=`|
149
+
|`export VARIABLE_NAME=value`| Set or change the value of a temporary environment variable.|`export DI_KEY={yourKey}`|
150
+
|`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`|
151
151
|`printenv`| Display all environment variables.|`printenv`|
:::image type="content" source="../../../media/quickstarts/create-new-project.png" alt-text="Screenshot of Visual Studio's create new project page.":::
70
70
71
-
1. In the **Configure your new project** page, under **Project name** enter *formRecognizer_app*. Then select **Next**.
71
+
1. In the **Configure your new project** page, under **Project name** enter **docIntelligence_app**. Then select **Next**.
72
72
73
73
:::image type="content" source="../../../media/quickstarts/configure-new-project-console.png" alt-text="Screenshot of Visual Studio's configure new project page.":::
74
74
75
-
1. In the **Additional information** page, select **.NET 6.0 (Long-term support)**, and then select **Create**.
75
+
1. In the **Additional information** page, select **.NET 8.0 (Long-term support)**, and then select **Create**.
76
76
77
77
:::image type="content" source="../../../media/quickstarts/additional-information.png" alt-text="Screenshot of Visual Studio's additional information page.":::
0 commit comments