Skip to content

jlenon7/rag_code_review

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAG Code Review 🤖

Implementation of RAG techniques to make code reviews in git repositories.

Tools

The project uses the following tools to work:

Running

To run the project first create a new Python environment and activate it. I'm using Anaconda for setting the python version that pipenv should use to set up the environment. The command bellow will automatically setup the environment with conda and pipenv:

make env

Now install all the project dependencies:

make install-all

Clone the repositories you want the model to code review:

make clone

You can change the repositories you want to clone inside bin/clone.py. Also take a look inside bin/insert.py when calling load_code_folder_chunks() function to verify which paths and code languages you want to include in the VectorDB. You can also define files that you want to exclude.

Insert the file chunks in Chroma database by running:

make insert

Ask something by running the following:

make ask

You can change your question inside bin/ask.py.

About

🤖 Implementation of RAG techniques to make code reviews in git repositories.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors