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

refacto: Make some misc config default

Clémence Lesné3b423c549fa4
diff --git a/README.md b/README.md
index 06d76e8..457230f 100644
--- a/README.md
+++ b/README.md
@@ -137,8 +137,6 @@ workflow:
agent_phone_number: "+33612345678"
bot_company: Contoso
bot_name: Robert
- conversation_lang: fr-FR
- conversation_timeout_hour: 72
communication_service_call:
access_key: xxx
diff --git a/helpers/config_models/workflow.py b/helpers/config_models/workflow.py
index 961a9e4..b3e9e4d 100644
--- a/helpers/config_models/workflow.py
+++ b/helpers/config_models/workflow.py
@@ -10,5 +10,5 @@ class WorkflowModel(BaseModel):
agent_phone_number: PhoneNumber
bot_company: str
bot_name: str
- conversation_lang: str
- conversation_timeout_hour: int
+ conversation_lang: str = "fr-FR" # French
+ conversation_timeout_hour: int = 72 # 3 days