Latency improvements with the new manual VAD algorithm

Author: clemlesneCreated Dec 7, 2024Updated Jan 9, 2025
Labelsenhancement

Done:

  • Implement monitoring metrics to follow improvements

Todo:

  • Parallelize more TTS and database calls (study OTEL traces for opportunity confirmation)
  • Reduce dependency calls before sending call to the LLM or defer them
  • Compress the prompt (LLMlingua?)
  • Use a LLM with a lower latency (Phi 4?)
  • Trace the code executions with local debugger to pin points unseen optimizations

Source: microsoft/call-center-ai