I'm excited to share that you can use LiveKit to add voice capabilities to your chatbot without needing to rely on its own LLM. LiveKit offers a flexible framework that works smoothly with various Speech-to-Text (STT), Text-to-Speech (TTS), and Language Models (LLMs), so you can keep using your existing chatbot logic with ease.
Here’s a simple overview of the voice pipeline in LiveKit:
•
STT: This part transcribes what the user says into text.
•
LLM: Then, the transcribed text is processed to generate a response—you can use your own LLM or connect with external providers.
•
TTS: Finally, the response text is turned back into speech for the user to hear.
What’s great is that LiveKit also supports modular pipelines and real-time speech-to-speech models, giving you plenty of flexibility to balance performance and cost. If you’d like, I’m here to help guide you through the setup—just let me know!
Sources:
Models | LiveKit Docs |
Large language models (LLM) | LiveKit Docs |
livekit-agents/livekit/agents/inference/llm.py |
Voice AI quickstart | LiveKit Docs