Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

perf: Default LLM to fast, fast as GPT 4o-mini

Clémence Lesnéf1964c715598
diff --git a/bicep/main.bicep b/bicep/main.bicep
index 6e266f8..367e1a5 100644
--- a/bicep/main.bicep
+++ b/bicep/main.bicep
@@ -5,11 +5,11 @@ param embeddingQuota int = 100
param embeddingVersion string = '2'
param functionappLocation string
param instance string
-param llmFastContext int = 16385
-param llmFastDeploymentType string = 'Standard' // Pay-as-you-go in a single region
-param llmFastModel string = 'gpt-35-turbo'
-param llmFastQuota int = 200
-param llmFastVersion string = '1106'
+param llmFastContext int = 128000
+param llmFastDeploymentType string = 'GlobalStandard' // Pay-as-you-go in all regions
+param llmFastModel string = 'gpt-4o-mini'
+param llmFastQuota int = 600
+param llmFastVersion string = '2024-07-18'
param llmSlowContext int = 128000
param llmSlowDeploymentType string = 'GlobalStandard' // Pay-as-you-go in all regions
param llmSlowModel string = 'gpt-4o'
diff --git a/helpers/config_models/conversation.py b/helpers/config_models/conversation.py
index 6a7eed5..9de704c 100644
--- a/helpers/config_models/conversation.py
+++ b/helpers/config_models/conversation.py
@@ -173,7 +173,7 @@ class ConversationModel(BaseModel):
serialization_alias="voice_timeout_after_silence_sec", # Compatibility with v7
)
slow_llm_for_chat: bool = Field(
- default=True,
+ default=False,
serialization_alias="use_slow_llm_for_chat_as_default", # Compatibility with v7
)
voice_recognition_retry_max: int = Field(