How can I reduce latency of my voice agent as I am...
# agents
p
How can I reduce latency of my voice agent as I am getting 5-6 sec latency ?
f
you can get < 2 sec
but it highly depends on exact setup you have
models you are using
you need to enable metrics
and then try all different options and see what brings down the latency
p
Metrics like min_interruption_duration, min_endpoint_delay, etc. you are saying?
f
ttft, ttfb etc
image.png
5-6 seconds is very high , I have started with ~3-4 seconds on first iteration, you agent should be closer to llm
p
Maybe its coming because of multiple function tools
But EOU is for realtime API I guess
f
start with metrics, also measure function call latency