Is anyone able to create a Voice agent that does t...
# agents
a
Is anyone able to create a Voice agent that does things through function calls AND has an acceptable latency (~1 second) Right now, I'm at an average of 2-4s (Time to first audio chunk) for a voice agent that uses deepgram, gpt4o, and 11labs flash
a
Hi, my delays are ~2s - quite acceptable: • eou delay 1,37s • llm 0,486s • tts 0,15s This is in Polish - the reason for EOU delay being so high is there is no turn detection pluging that supports Polish. What are you building?
a
Good for you to reach that performance! My use case is order-taking for restaurants (so a lot of tool calling)
šŸ‘ 1
Why don't you use the VAD for turn detection? @adamant-knife-39991
c
i was able to shave some time by prewarming my stt+tts engines (llm is not recommended according to docs) in addition, make sure you have
_num_idle_processes_=1
in the
WorkerOptions
so you don't have cold starts
a
I use VAD but I do not use EOU as the default plugin does not support Polish. I have an EOU prototype in Polish but not tested yet.
@astonishing-gpu-67869, are you prototyping or do you have a client for that?
a
Still prototyping / signing a pilot @adamant-knife-39991
šŸ‘ 1
@clean-lawyer-43115 thanks for the recs! I'll try prewarming the stt+tts engines. Curious on why we shouldn't warm up the llm
a
@astonishing-gpu-67869 warm-up applies to a livekit process pool. It allows for stuff like silero vad to load before connection requests come. It is not directly related to stt, tts nor llm unless you have some in-process components that do stt/tts/llm.