barbelos
02/12/2025, 11:49 AMe6d8316e-dd0b-427b-8506-988eaf6ad61d
Assistant ID: 8bf8d5f0-9629-415f-9857-ea74e630e5af
https://cdn.discordapp.com/attachments/1339201697188286525/1339201697444008008/Screenshot_2025-02-12_at_12.46.38.png?ex=67addc45&is=67ac8ac5&hm=0d1ef7a353a7015f75dda68ed62120f69d418da3c8ab4f1442b71b5fe7f953ad&Chiranjeet Mishra
02/12/2025, 12:04 PMbarbelos
02/12/2025, 1:15 PMbarbelos
02/12/2025, 1:45 PMeb2d22c9-4877-4ebb-9fdd-b0e96bc83437
https://cdn.discordapp.com/attachments/1339201697188286525/1339230907931951115/Screenshot_2025-02-12_at_14.43.46.png?ex=67adf77a&is=67aca5fa&hm=bfe3afe600b8ab6cd5c290f578fe49ad7ee3a6ad0fecad80f3ad92deb5daaadd&Chiranjeet Mishra
02/12/2025, 5:58 PMbarbelos
02/12/2025, 7:54 PMwaitSeconds from 0.8 to 0.1 correct?
This Call eb2d22c9-4877-4ebb-9fdd-b0e96bc83437 should already have the values shared here https://discord.com/channels/1211482211119796234/1339201697188286525/1339205359465795624
Just to confirm, it should be startSpeakingPlan (camelCase) and not start_speaking_plan (snake_case) right?barbelos
02/12/2025, 8:10 PMwaitSeconds: 0.1, I see a delay of ~3 - 3.5s until the AI response. Is such performance expected?
Call ID: b044a0b1-513c-4b9f-baa7-00a31d0ad44f
https://cdn.discordapp.com/attachments/1339201697188286525/1339327729681563648/Screenshot_2025-02-12_at_21.08.26.png?ex=67ae51a6&is=67ad0026&hm=13b5a16a96a4ffd263804b3df8f6bd5a359720d87a381dcbe0ed9e94106391e8&Chiranjeet Mishra
02/12/2025, 8:13 PMbarbelos
02/12/2025, 8:16 PM/call endpoint
See below for Call ID eb2d22c9-4877-4ebb-9fdd-b0e96bc83437
{"id":"eb2d22c9-4877-4ebb-9fdd-b0e96bc83437","assistantId":"8bf8d5f0-9629-415f-9857-ea74e630e5af","phoneNumberId":"xxx","type":"outboundPhoneCall","createdAt":"2025-02-12T13:42:38.090Z","updatedAt":"2025-02-12T13:42:38.090Z","orgId":"xxx","cost":0,"customer":{"number":"xxx"},"status":"queued","phoneCallProvider":"vapi","phoneCallProviderId":"xxx","phoneCallTransport":"pstn","phoneCallProviderDetails":{"sbcCallId":"1093e61b-63ea-123e-f5a7-3e2dcc68de1e"},"assistantOverrides":{"startSpeakingPlan":{"waitSeconds":0.8,"transcriptionEndpointingPlan":{"onPunctuationSeconds":0.5},"smartEndpointingEnabled":false},"variableValues":{"...Chiranjeet Mishra
02/12/2025, 8:37 PMlogs
🔵 13:42:49:509 VAD Detected: Speech Started
🔵 13:42:50:109 VAD Detected: Speech Stopped
🔵 13:42:51:139 \[user LOG\] Transcriber output: hello
🔵 13:42:51:140 Endpointing Heuristic Detected No Punctuation, Setting Timeout For 1500ms...
🔵 13:42:51:140 \[user LOG\] Endpointing timeout 1500ms (rule: heuristic)
🔵 13:42:51:313 Azure Speech user Final Transcript : Hello؟
🔵 13:42:52:889 Completion Request Starting (#1, provider: azure-openai, model: gpt-4o-mini-2024-07-18-global, region: westus, credential: false)...
🔵 13:42:53:205 \[user CHECKPOINT\] Model sent start token
[barbelos](https://app.plain.com/workspace/w_01HYEQ5FKPH8CPX2MS608B6S51/customers/c_01JKT71A7XV5ZW0Q6EC56T9S76/)**1** As you can see in the logs first it took almost 1.5 seconds to identify if user has stopped speaking because of arabic punctuation, and then 1 next seconds for sending user input to LLM to voicing out almost 2.5s.
I suggest tweaking onNoPunctuationSeconds field of start speaking plan.
https://cdn.discordapp.com/attachments/1339201697188286525/1339334518301134888/Screenshot_2025-02-13_at_2.06.41_AM.png?ex=67ae57f8&is=67ad0678&hm=be05b620942d1c3b59f5cb87302da76175970fb60ad5ac3962dcdc05bb084d6e&barbelos
02/12/2025, 8:42 PMassistantOverrides. Are these respected or do you recommend building the assistant through the API?Chiranjeet Mishra
02/12/2025, 8:49 PMChiranjeet Mishra
02/12/2025, 8:50 PMbarbelos
02/12/2025, 9:06 PMonNoPunctuationSeconds and let you know if I can't get a better performance by EOD tomorrow. Any delay above 1-2 seconds from the user speaking to AI responding is a bad experiencebarbelos
02/12/2025, 9:14 PMbarbelos
02/13/2025, 1:03 PMbarbelos
02/13/2025, 1:04 PMChiranjeet Mishra
02/13/2025, 4:14 PMbarbelos
02/14/2025, 8:02 AMChiranjeet Mishra
02/14/2025, 5:39 PMcall.messages at squad transfer points).