Build a scripture-grounded voice AI with RAG and ElevenLabs
A creator built Prabhupada AI, a RAG voice app over 162k ancient verses, answering with sources and a cloned voice.
- Used for
- Creative
- Skill needed
- Requires coding
- Shown in video
- Partial demo
- Summary based on
- Transcript
How I Built a Voice AI Using 162,000 Ancient Verses!
Published Dec 4, 202659:311,065 views52 likes
What they made
A working voice app that answers questions from 162k indexed verses with source citations and near-instant responses.
0.24s response time; 162k chunks
30:34How they did it
- AI40:07
Claude generated a scraper using Requests and BeautifulSoup for static pages and Playwright for JavaScript-heavy pages, with pauses and checkpoints.
Stated in video · Claude - AI47:16
Claude chunked the scraped texts into ~400-word overlapping segments, preserving book labels, producing 161,724 chunks.
Stated in video · Claude - AI51:36
Voyage AI embedded the chunks into a vector database, processing ~20M tokens in batches of 50 requests.
Stated in video · Voyage AI - AI27:41
FAISS semantic search was implemented to retrieve relevant verses quickly, reducing query time to 0.24 seconds.
Stated in video · FAISS - AI24:19
Claude Sonnet 3.5 generated answers from retrieved context, including Sanskrit verses and explanations.
Stated in video · Claude - AI8:41
ElevenLabs synthesized the answer in a voice resembling Srila Prabhupada, including Sanskrit pronunciation.
Stated in video · ElevenLabs - Human33:06
The creator deployed the app on Railway to handle the memory-intensive RAG pipeline.
Stated in video · Railway
What you can reuse
- RAG with source citations reduces hallucinations for knowledge-heavy domains.
- Chunking strategy should match the embedding model's token limits and preserve context with overlaps.
- FAISS speeds up retrieval over large vector databases, enabling near-instant responses.
Trade-offs
- The demo uses a static database; dynamic updates for changing content are not implemented.
- Scraping may face legal restrictions; the creator checked terms of service.
- Embedding cost was approximately $18–$50 for the initial run.
AI-generated case summaries can contain mistakes. Report an error


