Shivam Sharma
11/10/2024, 7:04 AMShivam Sharma
11/10/2024, 7:04 AMVapi
11/10/2024, 7:06 AMShivam Sharma
11/10/2024, 1:42 PMShubham Bajaj
11/11/2024, 12:22 PMShivam Sharma
11/11/2024, 12:58 PMShubham Bajaj
11/11/2024, 4:16 PMlogs
{
"role": "tool_calls",
"time": 1731081858310,
"message": "",
"toolCalls": [
{
"id": "call_48MuTVXDSp54ascysiPecJQz",
"type": "function",
"function": {
"name": "Voicemail",
"arguments": "{\"Voicemail detection\": \"tone\"}"
}
}
],
"secondsFromStart": 102.629
},
{
"name": "Voicemail",
"role": "tool_call_result",
"time": 1731081859580,
"result": "No result returned.",
"toolCallId": "call_48MuTVXDSp54ascysiPecJQz",
"secondsFromStart": 103.899
}Shubham Bajaj
11/11/2024, 4:17 PMTLDR:
Remove your voicemail tool, and use TwilioVoiceMailDetection instead. Prompt works best when length is less than or equal to 2500.Shivam Sharma
11/12/2024, 1:14 PMShubham Bajaj
11/12/2024, 3:47 PMShivam Sharma
11/12/2024, 6:28 PMShubham Bajaj
11/13/2024, 7:28 AMjson
"voicemailDetection": {
"provider": "twilio",
"enabled": true,
"voicemailDetectionTypes": [
"machine_end_beep",
"machine_end_other",
"machine_end_silence",
"machine_start",
"unknown"
],
"machineDetectionTimeout": 5,
"machineDetectionSpeechThreshold": 2400,
"machineDetectionSpeechEndThreshold": 1000,
"machineDetectionSilenceTimeout": 3000
}
Your current voicemail config:
json
"voicemailDetection": {"enabled": true, "provider": "twilio"}
Shubham Bajaj
11/13/2024, 7:29 AMShivam Sharma
11/13/2024, 5:57 PMShubham Bajaj
11/16/2024, 3:48 PMShivam Sharma
11/18/2024, 7:04 PMShubham Bajaj
11/18/2024, 8:49 PMShubham Bajaj
11/18/2024, 8:49 PMShivam Sharma
11/18/2024, 8:57 PMShubham Bajaj
11/18/2024, 9:34 PMShivam Sharma
11/18/2024, 9:45 PMShubham Bajaj
11/18/2024, 10:54 PMShivam Sharma
11/19/2024, 12:42 PMShubham Bajaj
11/19/2024, 1:05 PMShubham Bajaj
11/19/2024, 1:05 PMShivam Sharma
11/19/2024, 1:08 PMShivam Sharma
11/19/2024, 1:08 PMShivam Sharma
11/19/2024, 1:09 PMHam
02/03/2025, 9:26 PMHam
02/03/2025, 9:30 PMShubham Bajaj
02/04/2025, 10:15 AMart3a.
02/04/2025, 11:26 AMHashTrade
02/04/2025, 9:23 PMHashTrade
02/04/2025, 9:25 PMvoicemailDetection: {
provider: "twilio",
voicemailDetectionTypes: [
"machine_end_beep",
"machine_end_silence",
"machine_end_other",
],
enabled: true,
machineDetectionTimeout: 30,
machineDetectionSpeechThreshold: 2400,
machineDetectionSpeechEndThreshold: 5000,
machineDetectionSilenceTimeout: 5000,
},
// model: {
// provider: "openai",
// model: "gpt-4o-mini",
// tools: [{ type: "voicemail" }],
// },
I've tried varieties and all of them seem to fail. The worst seems tobe when using the tools: [{type: "voicemail"}]
where it will often trigger way to early. Are there any solutions?Ham
02/05/2025, 12:23 AMHam
02/05/2025, 12:26 AMHashTrade
02/05/2025, 3:56 AMHam
02/05/2025, 6:38 AMHam
02/05/2025, 6:40 AMShubham Bajaj
02/06/2025, 7:49 AM