I am using a simple pipeline with gpt-4o-mini + de...
# agents
b
I am using a simple pipeline with gpt-4o-mini + deepgram-nova-3 + elevenlabs-flash-2.5. What are the ways I can reduce the latency? I have already activated preemptive generation but it doesn't seem to give that much great reduction in latency. Is there a way I can reduce the perceived latency by using a simultaneous LLM that is capable of generating simple filler words based on what user has said and then the answer from main LLM is spoken right after the filler words? It would be great if you could let me know what all settings and hacks you guys are using to reduce the latency. Also, @refined-appointment-81829 @magnificent-salesclerk-38445 and @jolly-air-155 , I would love to know your insights.
@magnificent-salesclerk-38445 @refined-appointment-81829 @jolly-air-155 in case you guys missed it, it would be really helpful if you could share some insights
b
Two big factors for latency are models size, and servers locations. You can check artificial analysis for the time to first token. Usually smaller models means less latency. For the server locations the closer they are geographically, the better. For example, when using vertex ai (google) or bedrock (aws) you can choose the region. Try to choose regions close to the other providers (deepgram, elevenlabs, etc.) and to your clients, the closer they are the less latency. Though notice that not all regions offer the same models. I'm also not sure if openai allows you to pick your region. The only "hack" I can think of right now, is to make the agent say something without awaiting it when making a function call, so that it executes at the same time-ish of any async process.