AI project reading assistant for code understanding
Top 49.9% on sourcepulse
This project provides an AI-powered code reader designed for learning and exchange, enabling users to interact with codebases using large language models. It supports both OpenAI's ChatGPT and self-hosted open-source LLMs, offering a novel way to understand and navigate code projects.
How It Works
The tool integrates with LLMs to process and analyze code repositories. Users can select between ChatGPT (GPT-3.5 or GPT-4) or local open-source models. For local models, users can extend functionality by creating custom LLM classes within the llms
directory. The system leverages embeddings for local codebases, facilitating more context-aware interactions.
Quick Start & Requirements
pip install -r requirements.txt
(for ChatGPT) or pip install -r llms/requirements_chatglm3.txt
(for specific open-source models)..env
file, a renamed copy of .env.tpl
.python main.py
.Highlighted Details
LLM
class.Maintenance & Community
The project is open for contributions and feedback, with the developer planning future updates.
Licensing & Compatibility
This project is strictly for learning and exchange and explicitly prohibits commercial use.
Limitations & Caveats
The project is noted as having many imperfections due to rapid development. Users are advised to monitor API usage and start with smaller projects to manage costs and potential errors.
4 months ago
1 week