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.3rc308.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aca785863174e72b915e4cb07a3af61285c23356a94e9dae1e53b94282df5b59 |
|
MD5 | 58a91c4e6e492d36ef2330dce4d303b0 |
|
BLAKE2b-256 | ae44432052159ca2f3c1287c10a922b701ea69956abdf7b35c95ec2a888adc83 |
Close
Hashes for gpt_review-0.2.3rc308.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca6e116d19ca2dc6b2eafbd556d3556ed59678df080af4d04ab9f604b88788e8 |
|
MD5 | 49f75c11098af78ae71be9528be10ae3 |
|
BLAKE2b-256 | 19905354fb0bc06c38e8086e4c2bdac243ef352fb92b12f2ef47f059043ac4b4 |