Skip to content
Open
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions sdk/ai/azure-ai-voicelive/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@
# Copy this file to .env and fill in your values

# Required credentials
AZURE_VOICELIVE_API_KEY=your-voicelive-api-key
AZURE_VOICELIVE_ENDPOINT=wss://api.voicelive.com/v1
AZURE_VOICELIVE_ENDPOINT=https://your-resource-name.services.ai.azure.com/
AZURE_VOICELIVE_API_VERSION=2025-10-01
AZURE_VOICELIVE_API_KEY=<your-voicelive-api-key> # Only required if using API key authentication

# Optional configuration
AZURE_VOICELIVE_MODEL=gpt-4o-realtime-preview
AZURE_VOICELIVE_VOICE=alloy
AZURE_VOICELIVE_MODEL=gpt-realtime
AZURE_VOICELIVE_VOICE=en-US-Ava:DragonHDLatestNeural
AZURE_VOICELIVE_INSTRUCTIONS=You are a helpful assistant. Keep your responses concise.

# For Foundry agent connection
AZURE_VOICELIVE_AGENT_ID=<your_agent_id>
AZURE_VOICELIVE_PROJECT_NAME=<your_project_name>

# For audio samples
AUDIO_FILE=path/to/your/test_audio.wav
AUDIO_FILE=path/to/your/test_audio.wav
8 changes: 8 additions & 0 deletions sdk/ai/azure-ai-voicelive/samples/.env_sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
AZURE_VOICELIVE_ENDPOINT=https://your-resource-name.services.ai.azure.com/
AZURE_VOICELIVE_MODEL=gpt-realtime
AZURE_VOICELIVE_VOICE=en-US-Ava:DragonHDLatestNeural
AZURE_VOICELIVE_API_VERSION=2025-10-01
AZURE_VOICELIVE_API_KEY=<your_api_key> # Only required if using API key authentication
AZURE_VOICELIVE_INSTRUCTIONS=You are a helpful assistant. Keep your responses concise.
AZURE_VOICELIVE_AGENT_ID=<your_agent_id>
AZURE_VOICELIVE_PROJECT_NAME=<your_project_name>
2 changes: 2 additions & 0 deletions sdk/ai/azure-ai-voicelive/samples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# logs
logs/
Loading