Skip to content

Commit 7ec7772

Browse files
Merge pull request #7235 from PatrickFarley/speech-updates
add csharp voicelive stub
2 parents c703a19 + 5a0da52 commit 7ec7772

File tree

14 files changed

+2164
-52
lines changed

14 files changed

+2164
-52
lines changed

articles/ai-services/speech-service/how-to-bring-your-own-model.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ ms.custom: ai-speech, voice-live, byom, preview
1111

1212
# Bring Your Own Model (BYOM) with Voice Live API (Preview)
1313

14+
[!INCLUDE [preview-generic](includes/previews/preview-generic.md)]
15+
1416
The Voice Live API provides Bring Your Own Model (BYOM) capabilities, allowing you to integrate your custom models into the voice interaction workflow. BYOM is useful for the following scenarios:
1517

1618
- **Fine-tuned models**: Use your custom Azure OpenAI or Azure Foundry models

articles/ai-services/speech-service/includes/quickstarts/voice-live-agents/python.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,11 @@ client = AsyncAzureVoiceLive(
162162
# This is the main function to run the Voice Live API client.
163163
def main() -> None:
164164
# Set environment variables or edit the corresponding values here.
165-
endpoint = os.environ.get("AZURE_VOICE_LIVE_ENDPOINT") or "<https://your-endpoint.azure.com/>"
165+
endpoint = os.environ.get("AZURE_VOICELIVE_ENDPOINT") or "<https://your-endpoint.azure.com/>"
166166
agent_id = os.environ.get("AI_FOUNDRY_AGENT_ID") or "<your-agent-id>"
167167
project_name = os.environ.get("AI_FOUNDRY_PROJECT_NAME") or "<your-project-name>"
168-
api_version = os.environ.get("AZURE_VOICE_LIVE_API_VERSION") or "2025-10-01"
169-
api_key = os.environ.get("AZURE_VOICE_LIVE_API_KEY") or "<your-api-key>"
168+
api_version = os.environ.get("AZURE_VOICELIVE_API_VERSION") or "2025-10-01"
169+
api_key = os.environ.get("AZURE_VOICELIVE_API_KEY") or "<your-api-key>"
170170
171171
# For the recommended keyless authentication, get and
172172
# use the Microsoft Entra token instead of api_key:
@@ -861,11 +861,11 @@ connection_queue = queue.Queue()
861861
# This is the main function to run the Voice Live API client.
862862
def main() -> None:
863863
# Set environment variables or edit the corresponding values here.
864-
endpoint = os.environ.get("AZURE_VOICE_LIVE_ENDPOINT") or "<https://your-endpoint.azure.com/>"
864+
endpoint = os.environ.get("AZURE_VOICELIVE_ENDPOINT") or "<https://your-endpoint.azure.com/>"
865865
agent_id = os.environ.get("AI_FOUNDRY_AGENT_ID") or "<your-agent-id>"
866866
agent_connection_string = os.environ.get("AI_FOUNDRY_AGENT_CONNECTION_STRING") or "<your-agent-connection-string>"
867-
api_version = os.environ.get("AZURE_VOICE_LIVE_API_VERSION") or "2025-10-01"
868-
api_key = os.environ.get("AZURE_VOICE_LIVE_API_KEY") or "<your-api-key>"
867+
api_version = os.environ.get("AZURE_VOICELIVE_API_VERSION") or "2025-10-01"
868+
api_key = os.environ.get("AZURE_VOICELIVE_API_KEY") or "<your-api-key>"
869869
870870
# For the recommended keyless authentication, get and
871871
# use the Microsoft Entra token instead of api_key:

articles/ai-services/speech-service/includes/quickstarts/voice-live-agents/resource-authentication.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ Create a new file named `.env` in the folder where you want to run the code.
1111
In the `.env` file, add the following environment variables for authentication:
1212

1313
```plaintext
14-
AZURE_VOICE_LIVE_ENDPOINT=<your_endpoint>
14+
AZURE_VOICELIVE_ENDPOINT=<your_endpoint>
1515
AI_FOUNDRY_PROJECT_NAME=<your_project_name>
1616
AI_FOUNDRY_AGENT_ID=<your_agent_id>
17-
AZURE_VOICE_LIVE_API_VERSION=2025-10-01
18-
AZURE_VOICE_LIVE_API_KEY=<your_api_key> # Only required if using API key authentication
17+
AZURE_VOICELIVE_API_VERSION=2025-10-01
18+
AZURE_VOICELIVE_API_KEY=<your_api_key> # Only required if using API key authentication
1919
```
2020

2121
Replace the default values with your actual project name, agent ID, API version, and API key.
@@ -24,22 +24,22 @@ Replace the default values with your actual project name, agent ID, API version,
2424

2525
|Variable name | Value |
2626
|--------------------------|-------------|
27-
| `AZURE_VOICE_LIVE_ENDPOINT` | This value can be found in the **Keys and Endpoint** section when examining your resource from the Azure portal. |
27+
| `AZURE_VOICELIVE_ENDPOINT` | This value can be found in the **Keys and Endpoint** section when examining your resource from the Azure portal. |
2828
| `AI_FOUNDRY_PROJECT_NAME` | The name of your Azure AI Foundry project. |
2929
| `AI_FOUNDRY_AGENT_ID` | The ID of your Azure AI Foundry agent. |
30-
| `AZURE_VOICE_LIVE_API_VERSION`| The API version you want to use. For example, `2025-10-01`. |
30+
| `AZURE_VOICELIVE_API_VERSION`| The API version you want to use. For example, `2025-10-01`. |
3131

3232
Learn more about [keyless authentication](/azure/ai-services/authentication) and [setting environment variables](/azure/ai-services/cognitive-services-environment-variables).
3333

3434
#### [API key](#tab/api-key)
3535

3636
|Variable name | Value |
3737
|--------------------------|-------------|
38-
| `AZURE_VOICE_LIVE_ENDPOINT` | This value can be found in the **Keys and Endpoint** section when examining your resource from the Azure portal. |
38+
| `AZURE_VOICELIVE_ENDPOINT` | This value can be found in the **Keys and Endpoint** section when examining your resource from the Azure portal. |
3939
| `AI_FOUNDRY_PROJECT_NAME` | The name of your Azure AI Foundry project. |
4040
| `AI_FOUNDRY_AGENT_ID` | The ID of your Azure AI Foundry agent. |
41-
| `AZURE_VOICE_LIVE_API_VERSION`| The API version you want to use. For example, `2025-10-01`. |
42-
| `AZURE_VOICE_LIVE_API_KEY` | This value can be found in the **Keys and Endpoint** section when examining your resource from the Azure portal. You can use either `KEY1` or `KEY2`.|
41+
| `AZURE_VOICELIVE_API_VERSION`| The API version you want to use. For example, `2025-10-01`. |
42+
| `AZURE_VOICELIVE_API_KEY` | This value can be found in the **Keys and Endpoint** section when examining your resource from the Azure portal. You can use either `KEY1` or `KEY2`.|
4343

4444
Learn more about [finding API keys](/azure/ai-services/cognitive-services-environment-variables) and [setting environment variables](/azure/ai-services/cognitive-services-environment-variables).
4545

0 commit comments

Comments
 (0)