Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
ux: Lower voice cutting delay
Clémence Lesné2c110d02abe8
diff --git a/README.md b/README.mdindex 38e14a8..44941f6 100644--- a/README.md+++ b/README.md@@ -498,7 +498,7 @@ Conversation options are represented as features. They can be configured from Ap| `recognition_retry_max` | The maximum number of retries for voice recognition. | `int` | 2 || `recording_enabled` | Whether call recording is enabled. | `bool` | false || `slow_llm_for_chat` | Whether to use the slow LLM for chat. | `bool` | false |-| `vad_cutoff_timeout_ms` | The cutoff timeout for voice activity detection in secs. | `int` | 300 |+| `vad_cutoff_timeout_ms` | The cutoff timeout for voice activity detection in secs. | `int` | 150 || `vad_silence_timeout_ms` | The timeout for phone silence in secs. | `int` | 500 || `vad_threshold` | The threshold for voice activity detection. | `float` | 0.5 |diff --git a/app/helpers/features.py b/app/helpers/features.pyindex 2df8fa1..a44981f 100644--- a/app/helpers/features.py+++ b/app/helpers/features.py@@ -67,7 +67,7 @@ async def vad_silence_timeout_ms() -> int:async def vad_cutoff_timeout_ms() -> int:return await _default(- default=300,+ default=150,key="vad_cutoff_timeout_ms",type_res=int,)diff --git a/cicd/bicep/app.bicep b/cicd/bicep/app.bicepindex f7ffafe..6389ac3 100644--- a/cicd/bicep/app.bicep+++ b/cicd/bicep/app.bicep@@ -907,7 +907,7 @@ resource configValues 'Microsoft.AppConfiguration/configurationStores/keyValues@recognition_retry_max: 2recording_enabled: falseslow_llm_for_chat: false- vad_cutoff_timeout_ms: 300+ vad_cutoff_timeout_ms: 150vad_silence_timeout_ms: 500vad_threshold: '0.5'}): {