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/quickstarts/voice-live-agents/ai-foundry.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,14 +9,15 @@ ms.date: 7/31/2025
9
9
ms.custom: references_regions
10
10
---
11
11
12
-
In this article, you learn how to use voice live with agents and Azure AI Speech in the [Azure AI Foundry portal](https://ai.azure.com/?cid=learnDocs).
12
+
In this article, you learn how to use voice live with [Azure AI Foundry Agent Service](/azure/ai-foundry/agents/overview) and [Azure AI Speech](/azure/ai-services/speech-service/overview) in the [Azure AI Foundry portal](https://ai.azure.com/?cid=learnDocs).
13
13
14
14
[!INCLUDE [Introduction](intro.md)]
15
15
16
16
## Prerequisites
17
17
18
18
- An Azure subscription. <ahref="https://azure.microsoft.com/free/ai-services"target="_blank">Create one for free</a>.
19
19
- An [Azure AI Foundry resource](../../../../multi-service-resource.md) created in one of the supported regions. For more information about region availability, see the [Voice Live API overview documentation](../../../voice-live.md).
20
+
- An Azure AI Foundry agent created in the [Azure AI Foundry portal](https://ai.azure.com/?cid=learnDocs). For more information about creating an agent, see the [Create an agent quickstart](/azure/ai-foundry/agents/quickstart).
20
21
21
22
> [!TIP]
22
23
> To use voice live, you don't need to deploy an audio model with your Azure AI Foundry resource. Voice live is fully managed, and the model is automatically deployed for you. For more information about models availability, see the [voice live overview documentation](../../../voice-live.md).
Copy file name to clipboardExpand all lines: articles/ai-services/speech-service/includes/quickstarts/voice-live-agents/python.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.topic: include
7
7
ms.date: 7/31/2025
8
8
---
9
9
10
-
In this article, you learn how to use voice live with agents and Azure AI Speech using Python code.
10
+
In this article, you learn how to use voice live with [Azure AI Foundry Agent Service](/azure/ai-foundry/agents/overview) and [Azure AI Speech](/azure/ai-services/speech-service/overview) using Python code.
11
11
12
12
[!INCLUDE [Introduction](intro.md)]
13
13
@@ -16,6 +16,7 @@ In this article, you learn how to use voice live with agents and Azure AI Speech
16
16
- An Azure subscription. <ahref="https://azure.microsoft.com/free/ai-services"target="_blank">Create one for free</a>.
17
17
- <ahref="https://www.python.org/"target="_blank">Python 3.8 or later version</a>. We recommend using Python 3.10 or later, but having at least Python 3.8 is required. If you don't have a suitable version of Python installed, you can follow the instructions in the [VS Code Python Tutorial](https://code.visualstudio.com/docs/python/python-tutorial#_install-a-python-interpreter) for the easiest way of installing Python on your operating system.
18
18
- An [Azure AI Foundry resource](../../../../multi-service-resource.md) created in one of the supported regions. For more information about region availability, see the [Voice Live API overview documentation](../../../voice-live.md).
19
+
- An Azure AI Foundry agent created in the [Azure AI Foundry portal](https://ai.azure.com/?cid=learnDocs). For more information about creating an agent, see the [Create an agent quickstart](/azure/ai-foundry/agents/quickstart).
19
20
20
21
> [!TIP]
21
22
> To use voice live, you don't need to deploy an audio model with your Azure AI Foundry resource. Voice live is fully managed, and the model is automatically deployed for you. For more information about models availability, see the [voice live overview documentation](../../../voice-live.md).
@@ -136,13 +137,11 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
136
137
async def main() -> None:
137
138
# Set environment variables or edit the corresponding values here.
138
139
endpoint = os.environ.get("AZURE_VOICE_LIVE_ENDPOINT") or "https://contoso-proj-agentic-foundry-res.cognitiveservices.azure.com/"
140
+
agent_id = os.environ.get("AI_FOUNDRY_AGENT_ID") or "your-agent-id"
141
+
project_name = os.environ.get("AI_FOUNDRY_PROJECT_NAME") or "your-project-name"
139
142
api_version = os.environ.get("AZURE_VOICE_LIVE_API_VERSION") or "2025-05-01-preview"
140
143
api_key = os.environ.get("AZURE_VOICE_LIVE_API_KEY") or "your_api_key"
141
144
142
-
# Agent-specific configuration for Azure AI Foundry projects
143
-
agent_id = os.environ.get("AI_FOUNDRY_AGENT_ID") or "your-agent-id"
144
-
project_name = os.environ.get("AI_FOUNDRY_PROJECT_NAME") or "your-project-name"
145
-
146
145
# For the recommended keyless authentication, get and
147
146
# use the Microsoft Entra token instead of api_key:
0 commit comments