| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This sample project demonstrates a Retrieval-Augmented Generation (RAG) enabled voice agent using LiveKit Agents 1.0. The example scrapes the LiveKit docs site, builds a local index, and then provides that data on demand to the assistant via a function tool.
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activatepip install -r requirements.txtOPENAI_API_KEY=your_openai_api_key DEEPGRAM_API_KEY=your_deepgram_api_key LIVEKIT_URL=your_livekit_url LIVEKIT_API_KEY=your_livekit_api_key LIVEKIT_API_SECRET=your_livekit_api_secret
Scrape the docs site:
python scrape_docs.pyBuild the RAG database:
python build_rag_data.pyDownload model files:
python main.py download-filesRun the agent:
python main.py consoleThe agent will start and be ready to handle voice interactions. It will use the RAG system to provide contextually relevant answers to user questions.
| Back | FazBrowse Home | New Git URL |