Skip to content

Harshitnitw/Source-Code-Analysis-Generative-AI

Repository files navigation

End-to-end-Source-Code-Analysis-Generative-AI

How to run?

STEPS:

Clone the repository

git clone https://github.com/Harshitnitw/Source-Code-Analysis-Generative-AI

Move inside the downloaded repository

cd Source-Code-Analysis-Generative-AI

code .

STEP 01- Create a conda environment after opening the repository

conda create -n venv python=3.10 -y
conda activate venv

STEP 02- install the requirements

pip install -r requirements.txt

Create a .env file in the root directory and add your MISTRAL_API_KEY credentials as follows:

MISTRAL_API_KEY = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
# Finally run the following command
python app.py

Now, open the project and enter the public github repo link for which you want your source code analysis

Ask relevent questions and doubts regarding your code in the chat

To clear the repo, write "clear" in the chat

Techstack Used:

  • Python
  • LangChain
  • Flask
  • MistralAI
  • vector embeddings
  • ChoromaDB

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors