@_avichawla: Let's build a RAG app over aud...
@_avichawla
7 views
Mar 06, 2025
1
Let's build a RAG app over audio files with DeepSeek-R1 (running locally):
2
Before we begin, here's a quick demo of what we're building!
We will use:
- @AssemblyAI for transcribing audio files.
- @qdrant_engine for the vector database.
- @llama_index for orchestration.
- DeepSeek-R1 as the LLM.
Let's dive in!
We will use:
- @AssemblyAI for transcribing audio files.
- @qdrant_engine for the vector database.
- @llama_index for orchestration.
- DeepSeek-R1 as the LLM.
Let's dive in!
3
Here's an overview of our app:
• 1) Takes an audio file and transcribes it using @AssemblyAI.
• 2-3) Stores it in a Qdrant vector database.
• 4-6) Queries the database to get context.
• 7-8) Uses DeepSeek-R1 as the LLM to generate a response.
Now let's jump into code!
• 1) Takes an audio file and transcribes it using @AssemblyAI.
• 2-3) Stores it in a Qdrant vector database.
• 4-6) Queries the database to get context.
• 7-8) Uses DeepSeek-R1 as the LLM to generate a response.
Now let's jump into code!
9
5️⃣ Streamlit UI
To make this accessible, we wrap the entire app in a @Streamlit interface.
It’s a simple UI where you can upload and chat with the audio file directly.
Here's the demo again👇
To make this accessible, we wrap the entire app in a @Streamlit interface.
It’s a simple UI where you can upload and chat with the audio file directly.
Here's the demo again👇
10
That's a wrap!
If you enjoyed this tutorial:
Find me → @_avichawla
Every day, I share tutorials and insights on DS, ML, LLMs, and RAGs.
If you enjoyed this tutorial:
Find me → @_avichawla
Every day, I share tutorials and insights on DS, ML, LLMs, and RAGs.




