swift-school-78240
03/26/2025, 2:26 PMtall-airline-16756
03/26/2025, 2:27 PMtall-airline-16756
03/26/2025, 2:27 PMreduce_latency
parameter by setting it to True
, adjust the speed_alpha
parameter (values lower than 1.0 result in faster speech), and optimize the sample rate to match your application needs.
• For Google Speech-to-Text: Use recognizers to improve latency and set appropriate location parameters to ensure proximity to the API endpoint.
• Monitor latency: Use the Agents metrics API to monitor and understand latency issues.
These steps should help in reducing TTFB and improving overall latency.
Sources: livekit.plugins.google API documentation | How can I reduce latency in voice pipeline agents using STT, TTS and LLM? | Rime integration guide | LiveKit Docsswift-school-78240
03/26/2025, 2:39 PMtall-airline-16756
03/26/2025, 2:40 PMreduce_latency
parameter by setting it to True
, adjust the speed_alpha
parameter (values lower than 1.0 result in faster speech), and optimize the sample rate to match your application needs.
• For Google Speech-to-Text: Use recognizers to improve latency and set appropriate location parameters to ensure proximity to the API endpoint.
• Monitor latency: Use the Agents metrics API to monitor and understand latency issues.
These steps should help in reducing TTFB and improving overall latency.