Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
infra: Use Azure OpenAI "Global-Standard"
Clémence Lesné22429cd8bb77
diff --git a/bicep/app.bicep b/bicep/app.bicepindex a670c1b..344aadc 100644--- a/bicep/app.bicep+++ b/bicep/app.bicep@@ -1,13 +1,16 @@param cognitiveCommunicationLocation string+param embeddingDeploymentType stringparam embeddingModel stringparam embeddingQuota intparam embeddingVersion stringparam functionappLocation stringparam llmFastContext int+param llmFastDeploymentType stringparam llmFastModel stringparam llmFastQuota intparam llmFastVersion stringparam llmSlowContext int+param llmSlowDeploymentType stringparam llmSlowModel stringparam llmSlowQuota intparam llmSlowVersion string@@ -535,10 +538,9 @@ resource llmSlow 'Microsoft.CognitiveServices/accounts/deployments@2023-10-01-prtags: tagssku: {capacity: llmSlowQuota- name: 'Standard' // Pay-as-you-go+ name: llmSlowDeploymentType}properties: {- dynamicThrottlingEnabled: true // Declared as read-only but can be set// raiPolicyName: contentfilter.nameversionUpgradeOption: 'NoAutoUpgrade'model: {@@ -555,10 +557,9 @@ resource llmFast 'Microsoft.CognitiveServices/accounts/deployments@2023-10-01-prtags: tagssku: {capacity: llmFastQuota- name: 'Standard' // Pay-as-you-go+ name: llmFastDeploymentType}properties: {- dynamicThrottlingEnabled: true // Declared as read-only but can be set// raiPolicyName: contentfilter.nameversionUpgradeOption: 'NoAutoUpgrade'model: {@@ -629,16 +630,15 @@ resource llmFast 'Microsoft.CognitiveServices/accounts/deployments@2023-10-01-pr// }// }-resource ada 'Microsoft.CognitiveServices/accounts/deployments@2023-10-01-preview' = {+resource embedding 'Microsoft.CognitiveServices/accounts/deployments@2023-10-01-preview' = {parent: cognitiveOpenainame: embeddingModelFullNametags: tagssku: {capacity: embeddingQuota- name: 'Standard' // Pay-as-you-go+ name: embeddingDeploymentType}properties: {- dynamicThrottlingEnabled: true // Declared as read-only but can be set// raiPolicyName: contentfilter.nameversionUpgradeOption: 'NoAutoUpgrade'model: {diff --git a/bicep/main.bicep b/bicep/main.bicepindex c548323..0500f74 100644--- a/bicep/main.bicep+++ b/bicep/main.bicep@@ -1,16 +1,19 @@param cognitiveCommunicationLocation string+param embeddingDeploymentType string = 'Standard' // Pay-as-you-go in a single regionparam embeddingModel string = 'text-embedding-ada-002'-param embeddingQuota int = 40 // Keep it small, will be scaled up if regional quota remains+param embeddingQuota int = 120param embeddingVersion string = '2'param functionappLocation stringparam instance string = deployment().nameparam llmFastContext int = 16385+param llmFastDeploymentType string = 'Standard' // Pay-as-you-go in a single regionparam llmFastModel string = 'gpt-35-turbo'-param llmFastQuota int = 40 // Keep it small, will be scaled up if regional quota remains+param llmFastQuota int = 120param llmFastVersion string = '0125'param llmSlowContext int = 128000+param llmSlowDeploymentType string = 'Global-Standard' // Pay-as-you-go in multiple regionsparam llmSlowModel string = 'gpt-4o'-param llmSlowQuota int = 40 // Keep it small, will be scaled up if regional quota remains+param llmSlowQuota int = 225param llmSlowVersion string = '2024-05-13'param location string = deployment().locationparam openaiLocation string@@ -44,15 +47,18 @@ module app 'app.bicep' = {scope: subparams: {cognitiveCommunicationLocation: cognitiveCommunicationLocation+ embeddingDeploymentType: embeddingDeploymentTypeembeddingModel: embeddingModelembeddingQuota: embeddingQuotaembeddingVersion: embeddingVersionfunctionappLocation: functionappLocationllmFastContext: llmFastContext+ llmFastDeploymentType: llmFastDeploymentTypellmFastModel: llmFastModelllmFastQuota: llmFastQuotallmFastVersion: llmFastVersionllmSlowContext: llmSlowContext+ llmSlowDeploymentType: llmSlowDeploymentTypellmSlowModel: llmSlowModelllmSlowQuota: llmSlowQuotallmSlowVersion: llmSlowVersion