Home / Companies / Cerebrium / Blog / Post Details
Content Deep Dive

Creating a realtime RAG voice agent

Blog post from Cerebrium

Post Details
Company
Date Published
Author
Cerebrium Team
Word Count
3,262
Language
English
Hacker News Points
-
Summary

This tutorial demonstrates how to create a real-time RAG (Reactive Audio Generation) voice agent using Cerebrium, leveraging external APIs for improved performance and scalability. The project utilizes Daily's Deepgram model locally for fast STT conversion, ElevenLabs for voice cloning, OpenAI's GPT-4o-mini model for LLM-based retrieval, and Pinecone as the vector store. The application allows users to ask questions about video lectures and receive personalized explanations in Andrej Karpathy's original voice. By combining RAG with voice capabilities, this project unlocks various applications and enables customization through trade-offs between latency, cost, and accuracy.