Skip to content

Commit 20af9ae

Browse files
author
Qi Ding
committed
use endpoint instead of region in doc repo
1 parent d6a79f0 commit 20af9ae

File tree

18 files changed

+46
-34
lines changed

18 files changed

+46
-34
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
author: eric-urban
3+
ms.service: azure-ai-speech
4+
ms.date: 9/9/2024
5+
ms.topic: include
6+
ms.author: eur
7+
---
8+
9+
> [!div class="checklist"]
10+
> - An Azure subscription. You can [create one for free](https://azure.microsoft.com/free/cognitive-services).
11+
> - [Create an AI Services resource for Speech](https://portal.azure.com/#create/Microsoft.CognitiveServicesAIServices) in the Azure portal.
12+
> - Get the Speech resource key and endpoint. After your Speech resource is deployed, select **Go to resource** to view and manage keys.

articles/ai-services/speech-service/includes/common/environment-variables-endpoint-key.md renamed to articles/ai-services/speech-service/includes/common/environment-variables-resourcekey-endpoint.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
<!-- --- -->
22
author: eric-urban
33
ms.service: azure-ai-speech
44
ms.topic: include
@@ -62,7 +62,7 @@ For iOS and macOS development, you set the environment variables in Xcode. For e
6262
1. Under **Environment Variables** select the plus (+) sign to add a new environment variable.
6363
1. Enter `SPEECH_KEY` for the **Name** and enter your Speech resource key for the **Value**.
6464

65-
To set the environment variable for your Speech resource region, follow the same steps. Set `END_POINT` to the endpoint of your resource. For example, `westus`.
65+
To set the environment variable for your Speech resource region, follow the same steps. Set `END_POINT` to the endpoint of your resource. For example, `https://YourServiceRegion.api.cognitive.microsoft.com`.
6666

6767

6868

articles/ai-services/speech-service/includes/quickstarts/speech-to-text-basics/cpp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ ms.author: eur
1212

1313
## Prerequisites
1414

15-
[!INCLUDE [Prerequisites](../../common/azure-prerequisites.md)]
15+
[!INCLUDE [Prerequisites](../../common/azure-prerequisites-resourcekey-endpoint.md)]
1616

1717
## Set up the environment
1818

1919
The Speech SDK is available as a [NuGet package](https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech) and implements .NET Standard 2.0. You install the Speech SDK later in this guide. For other requirements, see [Install the Speech SDK](../../../quickstarts/setup-platform.md?pivots=programming-language-cpp).
2020

2121
### Set environment variables
2222

23-
[!INCLUDE [Environment variables](../../common/environment-variables.md)]
23+
[!INCLUDE [Environment variables](../../common/environment-variables-resourcekey-endpoint.md)]
2424

2525
## Recognize speech from a microphone
2626

articles/ai-services/speech-service/includes/quickstarts/speech-to-text-basics/csharp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ ms.author: eur
1212

1313
## Prerequisites
1414

15-
[!INCLUDE [Prerequisites](../../common/azure-prerequisites.md)]
15+
[!INCLUDE [Prerequisites](../../common/azure-prerequisites-resourcekey-endpoint.md)]
1616

1717
## Set up the environment
1818

1919
The Speech SDK is available as a [NuGet package](https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech) and implements .NET Standard 2.0. You install the Speech SDK later in this guide. For any other requirements, see [Install the Speech SDK](../../../quickstarts/setup-platform.md?pivots=programming-language-csharp).
2020

2121
### Set environment variables
2222

23-
[!INCLUDE [Environment variables](../../common/environment-variables.md)]
23+
[!INCLUDE [Environment variables](../../common/environment-variables-resourcekey-endpoint.md)]
2424

2525
## Recognize speech from a microphone
2626

articles/ai-services/speech-service/includes/quickstarts/speech-to-text-basics/java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.author: eur
1212

1313
## Prerequisites
1414

15-
[!INCLUDE [Prerequisites](../../common/azure-prerequisites.md)]
15+
[!INCLUDE [Prerequisites](../../common/azure-prerequisites-resourcekey-endpoint.md)]
1616

1717
## Set up the environment
1818

@@ -58,7 +58,7 @@ To set up your environment, [install the Speech SDK](~/articles/ai-services/spee
5858

5959
### Set environment variables
6060

61-
[!INCLUDE [Environment variables](../../common/environment-variables.md)]
61+
[!INCLUDE [Environment variables](../../common/environment-variables-resourcekey-endpoint.md)]
6262

6363
## Recognize speech from a microphone
6464

articles/ai-services/speech-service/includes/quickstarts/speech-to-text-basics/python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.author: eur
1212

1313
## Prerequisites
1414

15-
[!INCLUDE [Prerequisites](../../common/azure-prerequisites.md)]
15+
[!INCLUDE [Prerequisites](../../common/azure-prerequisites-resourcekey-endpoint.md)]
1616

1717
## Set up the environment
1818

@@ -25,7 +25,7 @@ Install a version of [Python from 3.7 or later](https://www.python.org/downloads
2525

2626
### Set environment variables
2727

28-
[!INCLUDE [Environment variables](../../common/environment-variables.md)]
28+
[!INCLUDE [Environment variables](../../common/environment-variables-resourcekey-endpoint.md)]
2929

3030
## Recognize speech from a microphone
3131

articles/ai-services/speech-service/includes/quickstarts/speech-translation-basics/cpp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ ms.author: eur
1212

1313
## Prerequisites
1414

15-
[!INCLUDE [Prerequisites](../../common/azure-prerequisites.md)]
15+
[!INCLUDE [Prerequisites](../../common/azure-prerequisites-resourcekey-endpoint.md)]
1616

1717
## Set up the environment
1818
The Speech SDK is available as a [NuGet package](https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech) and implements .NET Standard 2.0. You install the Speech SDK later in this guide, but first check the [SDK installation guide](../../../quickstarts/setup-platform.md?pivots=programming-language-cpp) for any more requirements
1919

2020
### Set environment variables
2121

22-
[!INCLUDE [Environment variables](../../common/environment-variables.md)]
22+
[!INCLUDE [Environment variables](../../common/environment-variables-resourcekey-endpoint.md)]
2323

2424
## Translate speech from a microphone
2525

articles/ai-services/speech-service/includes/quickstarts/speech-translation-basics/csharp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ ms.author: eur
1212

1313
## Prerequisites
1414

15-
[!INCLUDE [Prerequisites](../../common/azure-prerequisites.md)]
15+
[!INCLUDE [Prerequisites](../../common/azure-prerequisites-resourcekey-endpoint.md)]
1616

1717
## Set up the environment
1818
The Speech SDK is available as a [NuGet package](https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech) and implements .NET Standard 2.0. You install the Speech SDK later in this guide, but first check the [SDK installation guide](../../../quickstarts/setup-platform.md?pivots=programming-language-csharp) for any more requirements.
1919

2020
### Set environment variables
2121

22-
[!INCLUDE [Environment variables](../../common/environment-variables-endpoint-key.md)]
22+
[!INCLUDE [Environment variables](../../common/environment-variables-resourcekey-endpoint.md)]
2323

2424
## Translate speech from a microphone
2525

articles/ai-services/speech-service/includes/quickstarts/speech-translation-basics/java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.author: eur
1212

1313
## Prerequisites
1414

15-
[!INCLUDE [Prerequisites](../../common/azure-prerequisites.md)]
15+
[!INCLUDE [Prerequisites](../../common/azure-prerequisites-resourcekey-endpoint.md)]
1616

1717
## Set up the environment
1818

@@ -55,7 +55,7 @@ Before you can do anything, you need to install the Speech SDK. The sample in th
5555

5656
### Set environment variables
5757

58-
[!INCLUDE [Environment variables](../../common/environment-variables.md)]
58+
[!INCLUDE [Environment variables](../../common/environment-variables-resourcekey-endpoint.md)]
5959

6060
## Translate speech from a microphone
6161

articles/ai-services/speech-service/includes/quickstarts/speech-translation-basics/python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.author: eur
1212

1313
## Prerequisites
1414

15-
[!INCLUDE [Prerequisites](../../common/azure-prerequisites.md)]
15+
[!INCLUDE [Prerequisites](../../common/azure-prerequisites-resourcekey-endpoint.md)]
1616

1717
## Set up the environment
1818

@@ -24,7 +24,7 @@ Install a version of [Python from 3.7 or later](https://www.python.org/downloads
2424

2525
### Set environment variables
2626

27-
[!INCLUDE [Environment variables](../../common/environment-variables.md)]
27+
[!INCLUDE [Environment variables](../../common/environment-variables-resourcekey-endpoint.md)]
2828

2929
## Translate speech from a microphone
3030

0 commit comments

Comments
 (0)