Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 950 Bytes

File metadata and controls

28 lines (24 loc) · 950 Bytes

CodebaseAI

An AI-powered codebase assistant using Retrieval-Augmented Generation (RAG) to understand your repositories. Upload any GitHub repository, and chat with it to understand its architecture, find where authentication is handled, or locate dead code.

Key Features

  • Semantic Code Search: Uses vector embeddings and ChromaDB.
  • RAG Architecture: Answers questions using context from your own code.
  • Source Citations: Highlights file names and line numbers.
  • Local LLMs: Powered by Ollama.
  • FastAPI Backend: Robust REST API for repository indexing and querying.
  • Premium React Frontend: Sleek glassmorphism UI built without node.js.

Quickstart

  1. Clone this repository.
  2. Install dependencies:
pip install -r requirements.txt
  1. Start an Ollama server locally:
ollama run llama3
  1. Run the application:
python main.py
  1. Open http://localhost:8000/ in your browser.