Hi everyone :wave: I've built an agent that uses ...
# agents
h
Hi everyone 👋 I've built an agent that uses the OpenAI Realtime API, with phone calls as the main user interface. The agent initiates outbound calls to users. However, when a call is answered, there's a 2–5 second delay of silence before the agent starts speaking. Ideally, the agent should respond immediately after the call is picked up. I've only tried prompting some LLM to find a solution for this, but I haven't found anything so far. Any suggestions or solutions would be greatly appreciated.
r
I have the same issue while using the new LiveKit Cloud deployment option. It sometimes takes even >10seconds 😬 I assume it is due to the US-server location. I read further server location options are planned and coming soon.
h
@rhythmic-answer-94010 I'm not deploying my agent to LiveKit Cloud. I think you would be better served if you deployed yours to a VPS provider of your choice for now. After looking around, I found that the OpenAI infrastructure is located entirely in the US, so establishing a connection to the OpenAI RealtimeAPI is bound to have some latency. Another option would be to use Azure OpenAI, which is an Azure service that provides OpenAI services. They can be located in any Azure region.
🙌 1
r
Thanks Tri Nguyen. I managed to deploy the agent on Google Cloud Kubernetes with different location options available. Currently trying to optimize the whole setup for faster agent joining times. This will make a huge difference in the overall user experience. So, I will also try to consider your advice regarding the LLM. 👍🏼
🙌 1