I'm glad you're interested in LiveKit's capabilities! LiveKit offers functionality similar to VAPI's KnowledgeBase through its Retrieval-Augmented Generation (RAG) features within the LiveKit Agents framework. This means your voice agents can access and use external knowledge sources during conversations, making interactions much richer.
Here are a couple of helpful examples to give you a clearer picture:
•
LlamaIndex RAG Agent: This one uses LlamaIndex to perform RAG and answer user queries from a structured knowledge base.
•
LiveKit Docs RAG Agent: It answers questions by querying the LiveKit documentation in real time.
The framework is designed to be flexible, supporting integrations with STT, LLM, TTS, and Realtime APIs. You can work with it in both Python and Node.js/TypeScript, and even implement features like semantic turn detection or exchange data with client applications via RPCs and Data APIs.
If you're ready to dive in, these resources might be really helpful:
•
Voice AI Quickstart Guide
•
LlamaIndex RAG Example Code
•
LiveKit Docs RAG Example
I'd be happy to help you with integrating a specific type of knowledge source, like PDFs, internal docs, or APIs. Or if you're unsure about whether to go with Python or Node.js, I can guide you through that choice too. Just let me know what would be most helpful!
Sources:
LiveKit Docs |
External data and RAG | LiveKit Docs |
README.md |
README.md |
Voice Assistant Applications | livekit/livekit_composite | DeepWiki