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
gpt-review-0.0.1rc93.post1.tar.gz
(16.6 kB
view hashes)
Built Distribution
Close
Hashes for gpt-review-0.0.1rc93.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8c969338fe47069960d07b46a1fdefd739803c87fd2d2f1573f5077af107317 |
|
MD5 | cd9cc1d2dc17e57a38eb85efe568be0e |
|
BLAKE2b-256 | 2e7d4a0412d8fa257bb5c38003a3fac64feafcfb7f18b19e79fe01e0bad2ac77 |
Close
Hashes for gpt_review-0.0.1rc93.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32cdf554a7c1d8f996364e9975bb8c2bdbed84a0b2444c40af2d59a8fe14ede5 |
|
MD5 | ee289abad282bb614b6aeb07aedf758b |
|
BLAKE2b-256 | 55a5a459ca2ab90a026c7240422b3f4e96e7c84d6ef43d64cc563f085336b855 |