Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
resources:
public_url: https://xxx.blob.core.windows.net/public
conversation:
initiate:
agent_phone_number: "+33612345678" # Phone number the bot will transfer the call to if customer asks for a human agent
bot_company: Contoso
bot_name: Robert
communication_services:
access_key: xxx
call_queue_name: call-33612345678
endpoint: https://xxx.france.communication.azure.com
phone_number: "+33612345678" # Phone number purshased from Communication Services
post_queue_name: post-33612345678
recording_container_url: https://xxx.blob.core.windows.net/recordings
resource_id: xxx
sms_queue_name: sms-33612345678
cognitive_service:
endpoint: https://xxx.cognitiveservices.azure.com # Must be of type "AI services multi-service account"
region: swedencentral
resource_id: xxx
llm:
fast:
context: 1047576
endpoint: https://xxx.openai.azure.com/openai/deployments/gpt-4.1-nano-2025-04-14
model: gpt-4.1-nano
slow:
context: 1047576
endpoint: https://xxx.openai.azure.com/openai/deployments/gpt-4.1-2025-04-14
model: gpt-4.1
ai_search:
embedding_deployment: text-embedding-3-large-1
embedding_dimensions: 3072
embedding_endpoint: https://xxx.openai.azure.com
embedding_model: text-embedding-3-large
endpoint: https://xxx.search.windows.net
index: trainings
ai_translation:
access_key: xxx
endpoint: https://xxx.cognitiveservices.azure.com