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.1rc195.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b04030460fec8d4ddac2c9688e1fbed8067eb1a933811b0ab34bf22793ca9a31 |
|
MD5 | 1bbba0f57884334c0e29f27c54d015ac |
|
BLAKE2b-256 | 6d9ac74bc4c525e7418792eb7d92c8404406e9f3235d23aedfdca839d84c690d |
Close
Hashes for gpt_review-0.0.1rc195.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95cbf440284463ac593956870ed3a5fcb1eaced90e1fee029bae114a622f996b |
|
MD5 | d3628a940e02f3de03383c64776715ec |
|
BLAKE2b-256 | 8d065cf81d5a34bbe7df199555225881edb62f812d5d84833da1be5cd164fa50 |