Upload SQL/Python files and chat with your code using AI. Ask questions, get explanations, and understand your codebase better.
- 📁 Upload single or multiple code files (.py, .sql, .js, .ts, .java, .c, .cpp, .h, .hpp)
- 📦 Upload zip files containing multiple code files
- 💬 Chat with your code using AI
- 🤖 Multiple LLM providers (Ollama, OpenAI, Gemini, llama.cpp)
- 🌙 Dark/Light theme toggle
- 📱 Responsive design
- ⚡ Vector-based code retrieval for accurate answers
- Install dependencies:
pip install -r requirements.txt- Configure environment variables:
cp .env.sample .env
# Edit .env with your preferred LLM provider- Run the application:
python app.py- Open http://localhost:8014 in your browser
Edit .env to select your LLM provider:
LLM_PROVIDER=ollama
OLLAMA_MODEL=llama3.2:3b
Requires: Ollama running locally
LLM_PROVIDER=openai
OPENAI_API_KEY=your-api-key
OPENAI_MODEL=gpt-4o-mini
LLM_PROVIDER=gemini
GOOGLE_API_KEY=your-api-key
GEMINI_MODEL=gemini-1.5-flash
LLM_PROVIDER=llama.cpp
LLAMA_CPP_URL=http://127.0.0.1:8080/v1
Requires: llama.cpp server running
- Upload code files individually or as a zip archive
- Files are processed and split into chunks
- Embeddings are created for semantic search
- Ask questions about your code
- The AI retrieves relevant code sections and provides answers
- Python (.py)
- SQL (.sql)
- JavaScript (.js)
- TypeScript (.ts)
- Java (.java)
- C/C++ (.c, .cpp, .h, .hpp)
- Zip archives (.zip) containing any of the above