Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sachs7/reviewit-ai
- Owner: sachs7
- License: mit
- Created: 2024-03-03T02:39:52.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-06T18:03:25.000Z (11 months ago)
- Last Synced: 2024-03-06T19:38:01.137Z (11 months ago)
- Topics: anthropic, claude-3, claude-3-opus, langchain, llm, llm-review, openai, pr-review, review-ai, reviews, streamlit
- Language: Python
- Homepage:
- Size: 1.25 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)