Delay in response after answering the call.
# support
s
The bot remains silent in the beginning of the call. I am placing an outbound call. When the call is picked up and the user says "hello", the bot does not respond instantly. If the user says "hello" again after around 4 seconds, then the bot responds. Overall, it seems that there is a latency or lag time in the beginning when the call is picked up by the user.
v
Hi @sumitguha, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Outbound Calling]() * [Inbound Calling]() * [Get Assistant]() * [Dashboard]() -----------------------------
### Answer The delay experienced at the beginning of the call could be associated with several factors related to the configuration and operation of Vapi. Here are a few aspects to consider, based on Vapi's documentation: 1. **Silence Timeout and Response Delay**: Vapi allows for the configuration of silence timeout seconds and response delay seconds. The
silenceTimeoutSeconds
parameter defines how many seconds of silence to wait before ending the call, and the
responseDelaySeconds
parameter sets the minimum number of seconds to wait after user speech before the assistant starts speaking [(1)]() . 2. **Latency Optimizations**: Vapi is designed with latency optimizations to ensure low voice-to-voice latency internationally. However, real-time performance can be influenced by several factors, including network conditions, server location relative to the user, and the complexities of the conversation logic [(2)]() . 3. **System Performance**: The performance of the transcriber, model, voice, and other system components can also play a role in the observed delay. Vapi acts as an orchestration layer over Speech-to-Text (STT), Large Language Model (LLM), and Text-to-Speech (TTS) providers. The latency could be related to the processing time of these components. For troubleshooting and further optimization, consider reviewing your configuration settings for
silenceTimeoutSeconds
and
responseDelaySeconds
to see if adjustments can reduce the initial response delay. Additionally, monitoring network conditions and exploring latency optimizations mentioned in Vapi's documentation might provide further insights.
Got it. Tagging @User for additional help.
s
call_id?
s
b7f4d4a7-7ba9-4ed5-9b2a-c8e76c2be670
s
Can you share some latest call id?
s
b498c625-8a51-4c02-a8f4-73db58d2ae74
3bcf5d30-38a9-4cbe-859c-9a522cd393c2
s
Can you send me a DM and we can schedule a meet so that I can personally help you out!
s
hey @Sahil , sorry for the late reply..the response delay seems to have resolved.
but there is another thing that I have been noticing recently, from 4th or 5th of this month. The bot is hallucinating a lot!
for instance, check out this call -
462692b1-63e5-492f-a85d-86ff5aceac8f
it abruptly goes into a loop and keeps on saying "transferring the call" and finally ends the call...but it should have continued the conversation.
can you please help me out with this?
s
Can you try using GPT-4?
s
yes, but the latency is higher in gpt-4