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 gpt-review
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.2.3rc296.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fe1a98f48bf4bb98b7438819cc7bfb0da00e2e22c937ab33414e26e9a8b40fb |
|
MD5 | 6cdda3330f21832d34cc4c169edebe8f |
|
BLAKE2b-256 | e1d61ab752488b635c7b5e374e8658fd4a563afe301f9aa4e677b47e418176a3 |
Close
Hashes for gpt_review-0.2.3rc296.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53bdbd5b4c904be62e72c15843ea406358390368e8bf1ece6e2e573013a9ec45 |
|
MD5 | fcc2582e3b2cb9adf2c0da35f43ad3ab |
|
BLAKE2b-256 | e2b2a8f93c878b142f7e85d299e9b4e76e577d67808b4a16cc28fda581639c83 |