Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sachs7/reviewit-ai

A code review AI assistant that suggests improvements in the provided code
https://github.com/sachs7/reviewit-ai

anthropic claude-3 claude-3-opus langchain llm llm-review openai pr-review review-ai reviews streamlit

Last synced: about 2 months ago
JSON representation

A code review AI assistant that suggests improvements in the provided code

Awesome Lists containing this project

README

        

# ReviewIt AI

A code review AI assistant that suggests improvements in the provided code.

# Providers:

1. OpenAI (Model: `gpt-4-1106-preview`)
2. Anthropic (Model: `claude-3-opus-20240229`)

# How to use it?

- Clone the repository
- Create `.venv` if possible
- Install required dependencies `pip install -r requirements.txt`
- From CLI: `export OPENAI_API_KEY=sk-xxxx` if using OPENAI
- From CLI: `export ANTHROPIC_API_KEY=sk-ant-xxx` if using ANTHROPIC
- From CLI: `streamlit run main.py`

# Results:

1. Intro:
![1-intro](images/1-intro.png)

2. Code Review:
![2-code-review](images/2-code-review.png)

3. Anthropic Provider:
![4-anthropic-review](images/4-with-anthropic.png)

4. Non-Code:
![3-non-code](images/3-non-code.png)

# Next:

- Code for: [GitHub Actions](https://github.com/sachs7/reviewit-ai-git-actions)

- Code that can be improved (bad-code):
Comment from ReviewIt-AI: [bad-code](https://github.com/sachs7/reviewit-ai-git-actions/pull/31#issuecomment-1977448710)

- Better code:
Comment from ReviewIt-AI: [better-code](https://github.com/sachs7/reviewit-ai-git-actions/pull/32#issuecomment-1977451877)