An intelligent AI-powered codebase assistant that allows users to upload a repository and ask questions about the code.
Built using RAG (Retrieval-Augmented Generation) with Qdrant + LLM + FastAPI + React.
- 🔗 Frontend: https://codebase-ai-assistant-frontend.vercel.app/
- 🔗 Backend API: https://kirankumar29-codebase-assitant.hf.space
- Upload GitHub repository or local codebase
- Semantic search using vector embeddings
- Ask questions about your code
- Get file-based explanations
- Supports multiple programming languages
- ⚡ Fast retrieval using Qdrant vector database
User Question
↓
Frontend (React / Vercel)
↓
FastAPI Backend (Hugging Face)
↓
Qdrant Vector DB
↓
Relevant Code Context
↓
LLM (Groq)
↓
Answer
- FastAPI
- LangChain
- Qdrant Vector Database
- Groq LLM (LLaMA 3)
- HuggingFace Embeddings
- React / Next.js
- Tailwind CSS
- Vercel Deployment
- Upload a repository
- Files are filtered and processed
- Converted into embeddings
- Stored in Qdrant
- User asks a question
- Relevant code is retrieved
- LLM generates answer based on context
git clone https://github.com/kumar-kiran-24/Codebase-AI-Assistant.git
cd Codebase-AI-Assistant
pip install -r requirements.txt
QDRANT_URL=your_qdrant_url
QDRANT_API_KEY=your_api_key
GROQ_API=your_groq_api_key