Skip to content

Commit f2ac4c9

Browse files
committed
Update env var for endpoint
1 parent 2277264 commit f2ac4c9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

articles/ai-services/speech-service/includes/common/environment-variables-clu.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ To set the environment variables, open a console window, and follow the instruct
1515
- To set the `LANGUAGE_ENDPOINT` environment variable, replace `your-language-endpoint` with one of the regions for your resource.
1616
- To set the `SPEECH_KEY` environment variable, replace `your-speech-key` with one of the keys for your resource.
1717
- To set the `SPEECH_REGION` environment variable, replace `your-speech-region` with one of the regions for your resource.
18+
- To set the `Endpoint` environment variable, replace `your-speech-endpoint` with the actual endpoint of your Speech resource.
1819

1920
#### [Windows](#tab/windows)
2021

@@ -23,6 +24,7 @@ setx LANGUAGE_KEY your-language-key
2324
setx LANGUAGE_ENDPOINT your-language-endpoint
2425
setx SPEECH_KEY your-speech-key
2526
setx SPEECH_REGION your-speech-region
27+
setx Endpoint your-speech-endpoint
2628
```
2729

2830
> [!NOTE]
@@ -37,6 +39,7 @@ export LANGUAGE_KEY=your-language-key
3739
export LANGUAGE_ENDPOINT=your-language-endpoint
3840
export SPEECH_KEY=your-speech-key
3941
export SPEECH_REGION=your-speech-region
42+
export Endpoint=your-speech-endpoint
4043
```
4144

4245
After you add the environment variables, run `source ~/.bashrc` from your console window to make the changes effective.
@@ -52,6 +55,7 @@ export LANGUAGE_KEY=your-language-key
5255
export LANGUAGE_ENDPOINT=your-language-endpoint
5356
export SPEECH_KEY=your-speech-key
5457
export SPEECH_REGION=your-speech-region
58+
export Endpoint=your-speech-endpoint
5559
```
5660

5761
After you add the environment variables, run `source ~/.bash_profile` from your console window to make the changes effective.

articles/ai-services/speech-service/includes/common/environment-variables.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ To set the environment variables for your Speech resource key and region, open a
1414

1515
- To set the `SPEECH_KEY` environment variable, replace *your-key* with one of the keys for your resource.
1616
- 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.
1718

1819
#### [Windows](#tab/windows)
1920

2021
```console
2122
setx SPEECH_KEY your-key
2223
setx SPEECH_REGION your-region
24+
setx Endpoint your-endpoint
2325
```
2426

2527
> [!NOTE]
@@ -36,6 +38,7 @@ Edit your *.bashrc* file, and add the environment variables:
3638
```bash
3739
export SPEECH_KEY=your-key
3840
export SPEECH_REGION=your-region
41+
export Endpoint=your-endpoint
3942
```
4043

4144
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:
4952
```bash
5053
export SPEECH_KEY=your-key
5154
export SPEECH_REGION=your-region
55+
export Endpoint=your-endpoint
5256
```
5357

5458
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
6266
1. Under **Environment Variables** select the plus (+) sign to add a new environment variable.
6367
1. Enter `SPEECH_KEY` for the **Name** and enter your Speech resource key for the **Value**.
6468

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
6670

6771
For more configuration options, see [the Xcode documentation](https://help.apple.com/xcode/#/dev745c5c974).
6872

0 commit comments

Comments
 (0)