-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Adding voicelive agent sample and sample updates #43669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Updated API endpoint, version, and voice settings in the .env.template file. Added agent ID and project name placeholders.
|
Thank you for your contribution @goergenj! We will review the pull request and get back to you soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the Azure AI VoiceLive sample code to align with updated SDK configurations and adds a new sample for Foundry agent integration. The changes primarily focus on updating default values for endpoints, models, and voices, along with adding support for agent-based voice assistants.
Key Changes
- Updated default endpoint from WebSocket format to HTTPS format
- Changed default model from
gpt-4o-realtime-previewtogpt-realtime - Updated default voice to Azure's Dragon HD neural voice
- Added new agent voice assistant sample with conversation logging
- Updated documentation and environment templates
Reviewed Changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
sdk/ai/azure-ai-voicelive/samples/utils.py |
Reformatted file (whitespace only, no functional changes) |
sdk/ai/azure-ai-voicelive/samples/basic_voice_assistant_async.py |
Updated default endpoint to HTTPS format and default model/voice values |
sdk/ai/azure-ai-voicelive/samples/async_function_calling_sample.py |
Reformatted file (whitespace only, no functional changes) |
sdk/ai/azure-ai-voicelive/samples/agent_voice_assistant_async.py |
Added new sample demonstrating Foundry agent integration with conversation logging |
sdk/ai/azure-ai-voicelive/samples/README.md |
Updated dependencies, environment variables, and documentation for new samples |
sdk/ai/azure-ai-voicelive/samples/BASIC_VOICE_ASSISTANT.md |
Updated model names and added reference to agent sample |
sdk/ai/azure-ai-voicelive/samples/.env_sample |
Added new environment template file with updated defaults |
sdk/ai/azure-ai-voicelive/.env.template |
Updated with new defaults and agent-specific configuration |
sdk/ai/azure-ai-voicelive/samples/agent_voice_assistant_async.py
Outdated
Show resolved
Hide resolved
sdk/ai/azure-ai-voicelive/samples/agent_voice_assistant_async.py
Outdated
Show resolved
Hide resolved
…into jagoerge-voicelive-samples
Co-authored-by: Copilot <[email protected]>
…enj/azure-sdk-for-python into jagoerge-voicelive-samples
|
@xitzhang Missed you by a second with the .md update to make the documentation consistent. Final now. Not touching it anymore unless asked for changes until merged. |
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines