Live Demo: https://deepdecode.onrender.com
DeepDecode is a multimodal Retrieval-Augmented Generation (RAG) platform that enables users to upload videos, automatically generate transcripts, and interact with video content through conversational AI. Instead of manually searching through lengthy videos, users can ask natural language questions and receive accurate, timestamped, citation-backed answers linked to the relevant video segments.
- 🎥 Upload and process video files
- 🎙 Automatic transcription using Whisper V3
- 🤖 Conversational video search powered by Gemini 2.5 Pro
- 🔍 Hybrid retrieval combining vector and keyword search
- ⏱ Timestamped, citation-backed responses
- ⚡ Asynchronous processing with Celery
- 📈 Scalable pipeline for long-duration videos
Frontend: React, Tailwind CSS
Backend: FastAPI, Celery, PostgreSQL, Qdrant
AI/ML: Whisper V3, Gemini 2.5 Pro
+------------------+
| React Client |
+--------+---------+
|
v
FastAPI Backend
|
+------------------+------------------+
| |
v v
Video Upload Chat Query API
| |
v |
Celery Background Worker |
| |
v |
Whisper V3 Transcription |
| |
v |
Chunking + Metadata Extraction |
| |
+------------------+------------------+
|
v
Embedding Generation
|
+--------------+--------------+
| |
v v
PostgreSQL Qdrant
(Metadata/Transcript) (Vector Embeddings)
| |
+--------------+--------------+
|
Hybrid Retrieval
|
Gemini 2.5 Pro
|
Citation Generation
|
v
Timestamped Response
- Users upload a video through the React frontend.
- FastAPI queues the processing task using Celery.
- Whisper V3 transcribes the video's audio.
- The transcript is divided into semantic chunks and converted into embeddings.
- Transcript metadata is stored in PostgreSQL, while vector embeddings are stored in Qdrant.
- When a user asks a question, hybrid retrieval combines semantic vector search and keyword matching to fetch the most relevant transcript chunks.
- Gemini 2.5 Pro generates a context-aware response with timestamps and citations pointing to the relevant parts of the video.
deepdecode/
├── frontend/
├── backend/
│ ├── api/
│ ├── workers/
│ ├── services/
│ ├── rag/
│ ├── embeddings/
│ └── database/
├── docs/
└── README.md
- Processes 10-minute videos in under 2 minutes
- Delivers sub-second hybrid search latency
- Reduces manual video search time by approximately 40%
- Supports scalable asynchronous background processing
- Multi-video search
- Speaker diarization
- OCR for presentation slides
- Live meeting transcription
- Streaming AI responses
- User authentication
- Distributed Celery workers
- Cross-encoder reranking
git clone https://github.com/yourusername/deepdecode.git
cd deepdecode
pip install -r requirements.txt
cd frontend
npm installRun the backend:
uvicorn app.main:app --reloadRun Celery:
celery -A app.worker worker --loglevel=infoRun the frontend:
npm run devMIT License