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.3rc314.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 406100a895c53cb301f0093d5b54c45f92a5d44ac17edd0a4aa436a31d107781 |
|
MD5 | bca7e5b11360b70db080245f82245fa1 |
|
BLAKE2b-256 | bf9ccd4760db8319e27b0ec232d80bc3d980a3a4f1714fc727a6f24947a03294 |
Close
Hashes for gpt_review-0.2.3rc314.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86f6cb0e8b9c5d27c71a01eb1d8cccc43f4f60af63990279d8e97d07fd540d83 |
|
MD5 | a9c73dbf0f74a2207a4d5889c321b6e3 |
|
BLAKE2b-256 | cd061bbb13e4d012bf423b731c15b0012ceca06548b7625e01c2d37abe928bf6 |