Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
ops: Update Azure resources API versions
Clémence Lesnéda3fd2f94ed7
diff --git a/bicep/app.bicep b/bicep/app.bicepindex 344aadc..858a47e 100644--- a/bicep/app.bicep+++ b/bicep/app.bicep@@ -122,7 +122,7 @@ output communicationId string = communicationServices.idoutput functionAppName string = functionAppNameoutput logAnalyticsCustomerId string = logAnalytics.properties.customerId-resource logAnalytics 'Microsoft.OperationalInsights/workspaces@2022-10-01' = {+resource logAnalytics 'Microsoft.OperationalInsights/workspaces@2023-09-01' = {name: prefixlocation: locationtags: tags@@ -276,7 +276,7 @@ resource assignmentFunctionAppQueueDataContributor 'Microsoft.Authorization/role}}-resource storageAccount 'Microsoft.Storage/storageAccounts@2023-01-01' = {+resource storageAccount 'Microsoft.Storage/storageAccounts@2023-05-01' = {name: replace(prefix, '-', '')location: locationtags: tags@@ -289,42 +289,42 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2023-01-01' = {}}-resource queueService 'Microsoft.Storage/storageAccounts/queueServices@2023-01-01' = {+resource queueService 'Microsoft.Storage/storageAccounts/queueServices@2023-05-01' = {parent: storageAccountname: 'default'}-resource callQueue 'Microsoft.Storage/storageAccounts/queueServices/queues@2023-01-01' = {+resource callQueue 'Microsoft.Storage/storageAccounts/queueServices/queues@2023-05-01' = {parent: queueServicename: 'call-${phonenumberSanitized}'}-resource smsQueue 'Microsoft.Storage/storageAccounts/queueServices/queues@2023-01-01' = {+resource smsQueue 'Microsoft.Storage/storageAccounts/queueServices/queues@2023-05-01' = {parent: queueServicename: 'sms-${phonenumberSanitized}'}-resource postQueue 'Microsoft.Storage/storageAccounts/queueServices/queues@2023-01-01' = {+resource postQueue 'Microsoft.Storage/storageAccounts/queueServices/queues@2023-05-01' = {parent: queueServicename: 'post-${phonenumberSanitized}'}-resource trainingsQueue 'Microsoft.Storage/storageAccounts/queueServices/queues@2023-01-01' = {+resource trainingsQueue 'Microsoft.Storage/storageAccounts/queueServices/queues@2023-05-01' = {parent: queueServicename: 'trainings-${phonenumberSanitized}'}-resource blobService 'Microsoft.Storage/storageAccounts/blobServices@2023-01-01' = {+resource blobService 'Microsoft.Storage/storageAccounts/blobServices@2023-05-01' = {parent: storageAccountname: 'default'}-resource publicBlob 'Microsoft.Storage/storageAccounts/blobServices/containers@2023-01-01' = {+resource publicBlob 'Microsoft.Storage/storageAccounts/blobServices/containers@2023-05-01' = {parent: blobServicename: '$web'}-resource functionAppBlob 'Microsoft.Storage/storageAccounts/blobServices/containers@2023-01-01' = {+resource functionAppBlob 'Microsoft.Storage/storageAccounts/blobServices/containers@2023-05-01' = {parent: blobServicename: functionAppName}@@ -348,7 +348,7 @@ resource communicationServices 'Microsoft.Communication/CommunicationServices@20name: prefix}-resource eventgridTopic 'Microsoft.EventGrid/systemTopics@2023-12-15-preview' = {+resource eventgridTopic 'Microsoft.EventGrid/systemTopics@2024-06-01-preview' = {name: prefixlocation: 'global'tags: tags@@ -461,7 +461,7 @@ resource assignmentsCommunicationServicesCognitiveUser 'Microsoft.Authorization/}}-resource cognitiveCommunication 'Microsoft.CognitiveServices/accounts@2023-10-01-preview' = {+resource cognitiveCommunication 'Microsoft.CognitiveServices/accounts@2024-04-01-preview' = {name: '${prefix}-${cognitiveCommunicationLocation}-communication'location: cognitiveCommunicationLocationtags: tags@@ -474,7 +474,7 @@ resource cognitiveCommunication 'Microsoft.CognitiveServices/accounts@2023-10-01}}-resource cognitiveDocument 'Microsoft.CognitiveServices/accounts@2023-10-01-preview' = {+resource cognitiveDocument 'Microsoft.CognitiveServices/accounts@2024-04-01-preview' = {name: '${prefix}-${location}-document'location: locationtags: tags@@ -487,7 +487,7 @@ resource cognitiveDocument 'Microsoft.CognitiveServices/accounts@2023-10-01-prev}}-resource cognitiveContentsafety 'Microsoft.CognitiveServices/accounts@2023-10-01-preview' = {+resource cognitiveContentsafety 'Microsoft.CognitiveServices/accounts@2024-04-01-preview' = {name: '${prefix}-${location}-contentsafety'location: locationtags: tags@@ -519,7 +519,7 @@ resource assignmentsFunctionAppOpenaiContributor 'Microsoft.Authorization/roleAs}}-resource cognitiveOpenai 'Microsoft.CognitiveServices/accounts@2023-10-01-preview' = {+resource cognitiveOpenai 'Microsoft.CognitiveServices/accounts@2024-04-01-preview' = {name: '${prefix}-${openaiLocation}-openai'location: openaiLocationtags: tags@@ -532,7 +532,7 @@ resource cognitiveOpenai 'Microsoft.CognitiveServices/accounts@2023-10-01-previe}}-resource llmSlow 'Microsoft.CognitiveServices/accounts/deployments@2023-10-01-preview' = {+resource llmSlow 'Microsoft.CognitiveServices/accounts/deployments@2024-04-01-preview' = {parent: cognitiveOpenainame: llmSlowModelFullNametags: tags@@ -551,7 +551,7 @@ resource llmSlow 'Microsoft.CognitiveServices/accounts/deployments@2023-10-01-pr}}-resource llmFast 'Microsoft.CognitiveServices/accounts/deployments@2023-10-01-preview' = {+resource llmFast 'Microsoft.CognitiveServices/accounts/deployments@2024-04-01-preview' = {parent: cognitiveOpenainame: llmFastModelFullNametags: tags@@ -630,7 +630,7 @@ resource llmFast 'Microsoft.CognitiveServices/accounts/deployments@2023-10-01-pr// }// }-resource embedding 'Microsoft.CognitiveServices/accounts/deployments@2023-10-01-preview' = {+resource embedding 'Microsoft.CognitiveServices/accounts/deployments@2024-04-01-preview' = {parent: cognitiveOpenainame: embeddingModelFullNametags: tags@@ -649,7 +649,7 @@ resource embedding 'Microsoft.CognitiveServices/accounts/deployments@2023-10-01-}}-resource cosmos 'Microsoft.DocumentDB/databaseAccounts@2023-11-15' = {+resource cosmos 'Microsoft.DocumentDB/databaseAccounts@2024-05-15' = {name: prefixlocation: locationtags: tags@@ -674,7 +674,7 @@ resource cosmos 'Microsoft.DocumentDB/databaseAccounts@2023-11-15' = {}}-resource database 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2023-11-15' = {+resource database 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2024-05-15' = {parent: cosmosname: appNameproperties: {@@ -684,7 +684,7 @@ resource database 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2023-11-15}}-resource container 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers@2023-11-15' = {+resource container 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers@2024-05-15' = {parent: databasename: cosmosContainerNameproperties: {@@ -730,7 +730,7 @@ resource container 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/container}}-resource search 'Microsoft.Search/searchServices@2023-11-01' = {+resource search 'Microsoft.Search/searchServices@2024-03-01-preview' = {name: prefixlocation: searchLocationtags: tags@@ -745,7 +745,7 @@ resource search 'Microsoft.Search/searchServices@2023-11-01' = {}}-resource translate 'Microsoft.CognitiveServices/accounts@2023-10-01-preview' = {+resource translate 'Microsoft.CognitiveServices/accounts@2024-04-01-preview' = {name: '${prefix}-${location}-translate'location: locationtags: tagsdiff --git a/bicep/main.bicep b/bicep/main.bicepindex 0500f74..e591405 100644--- a/bicep/main.bicep+++ b/bicep/main.bicep@@ -11,7 +11,7 @@ param llmFastModel string = 'gpt-35-turbo'param llmFastQuota int = 120param llmFastVersion string = '0125'param llmSlowContext int = 128000-param llmSlowDeploymentType string = 'Global-Standard' // Pay-as-you-go in multiple regions+param llmSlowDeploymentType string = 'GlobalStandard' // Pay-as-you-go in multiple regionsparam llmSlowModel string = 'gpt-4o'param llmSlowQuota int = 225param llmSlowVersion string = '2024-05-13'