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/speech-service/includes/common/environment-variables.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,14 @@ To set the environment variables for your Speech resource key and region, open a
14
14
15
15
- To set the `SPEECH_KEY` environment variable, replace *your-key* with one of the keys for your resource.
16
16
- To set the `SPEECH_REGION` environment variable, replace *your-region* with one of the regions for your resource.
17
+
- To set the `Endpoint` environment variable, replace `your-endpoint` with the actual endpoint of your Speech resource.
17
18
18
19
#### [Windows](#tab/windows)
19
20
20
21
```console
21
22
setx SPEECH_KEY your-key
22
23
setx SPEECH_REGION your-region
24
+
setx Endpoint your-endpoint
23
25
```
24
26
25
27
> [!NOTE]
@@ -36,6 +38,7 @@ Edit your *.bashrc* file, and add the environment variables:
36
38
```bash
37
39
export SPEECH_KEY=your-key
38
40
export SPEECH_REGION=your-region
41
+
export Endpoint=your-endpoint
39
42
```
40
43
41
44
After you add the environment variables, run `source ~/.bashrc` from your console window to make the changes effective.
@@ -49,6 +52,7 @@ Edit your *.bash_profile* file, and add the environment variables:
49
52
```bash
50
53
export SPEECH_KEY=your-key
51
54
export SPEECH_REGION=your-region
55
+
export Endpoint=your-endpoint
52
56
```
53
57
54
58
After you add the environment variables, run `source ~/.bash_profile` from your console window to make the changes effective.
@@ -62,7 +66,7 @@ For iOS and macOS development, you set the environment variables in Xcode. For e
62
66
1. Under **Environment Variables** select the plus (+) sign to add a new environment variable.
63
67
1. Enter `SPEECH_KEY` for the **Name** and enter your Speech resource key for the **Value**.
64
68
65
-
To set the environment variable for your Speech resource region, follow the same steps. Set `SPEECH_REGION` to the region of your resource. For example, `westus`.
69
+
To set the environment variable for your Speech resource region, follow the same steps. Set `SPEECH_REGION` to the region of your resource. For example, `westus`. Set `Endpoint` to the endpoint of your resource
66
70
67
71
For more configuration options, see [the Xcode documentation](https://help.apple.com/xcode/#/dev745c5c974).
0 commit comments