stack-sparrow
A Code GPT - based on GPT-4-Turbo and Assistant API
NOTE: This was a quick project I build the same day of OpenAI Assistant API release. If you are a copilot user, A MUCH BETTER version of these capabilities were announced a day later by Github at GitHub Universe 2023, coming end of this month.
Installation
pip install -U stack-sparrow
Examples
Demo
stack-sparrow.mov
Usage
sparrow will create an OpenAI assistant on your account on the first run. You can view this assistant and tweak its base instructions at: https://platform.openai.com/assistants
Review a file
sparrow review path/to/file
Review your current commit
Review a range of commits
sparrow review HEAD HEAD~5
Review a different repository
sparrow review HEAD --repo_path path/to/repo
Contributing
Please feel free to open issues, submit pull requests or hang out with me and other interested folks on Discord.
License
This project is licensed under the terms of the MIT License.