This project is an end-to-end source code analysis tool powered by Generative AI. It allows users to analyze and interact with source code repositories using natural language. The backend leverages OpenAI's GPT models, LangChain, and ChromaDB to provide code understanding, conversational Q&A, and repository insights through a web interface.
Features:
- Clone and analyze any public GitHub repository
- Ask questions about the codebase and get AI-generated answers
- Conversational interface for code exploration
- Uses OpenAI API for advanced language understanding
git clone https://github.com/ankit-kumarz/End-to-End-Source-Code-Analysis-Tool.git
cd End-to-End-Source-Code-Analysis-Toolconda create -n llmapp python=3.10 -y
conda activate llmapppip install -r requirements.txtCreate a .env file in the root directory and add your OpenAI API key:
OPENAI_API_KEY=your_openai_api_key_hereYou can get a free API key by signing up at OpenAI.
python app.pyOpen your browser and go to http://127.0.0.1:8080
- Python
- Flask
- LangChain
- OpenAI GPT-3
- ChromaDB
- GitPython
Project Owner: isANkit kumar
GitHub: ankit-kumarz
Project Repository: End-to-End-Source-Code-Analysis-Tool