Python Project for reviewing GitHub PRs with Open AI and Chat-GPT.
Project description
gpt-review
A Python based CLI and GitHub Action to use Open AI or Azure Open AI models to review contents of pull requests.
How to use CLI:
Install the package via pip
and set the environment variables for your OpenAI API Key and Organization ID.
To use Azure OpenAI, set the environment variable AZURE_OPENAI_API_URL
and AZURE_OPENAI_API_URL_KEY
to the URL and key for your Azure OpenAI API.
pip install easy-gpt
export OPENAI_API_KEY=<your key>
export AZURE_OPENAI_API=<your azure api url>
export AZURE_OPENAI_API_KEY=<your azure key>
Developer Setup
To install the package in development mode, with additional packages for testing, run the following command:
pip install -e .[test]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for gpt-review-0.0.1rc178.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 660c276856a551961735b965609c3e9523cd076b2655e3366404ca7c1f552934 |
|
MD5 | b3612a3e78f77b97d1550a5523ce30c5 |
|
BLAKE2b-256 | 950dd32d1e1e358ba53e38f12217141cc6557745c55193c514fa7bf32de65df0 |
Close
Hashes for gpt_review-0.0.1rc178.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51883aadf1295ba0333b608e149c882a5630812114b8cb64e9f9d492b509bb44 |
|
MD5 | 909c8dc2c6fca87447b328cc604bbe70 |
|
BLAKE2b-256 | 05c56583830c37267b0f05f82eac89471fb06a2089f15b477f355770ed834c6c |