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.1rc95.post1.tar.gz
(16.7 kB
view hashes)
Built Distribution
Close
Hashes for gpt-review-0.0.1rc95.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43e5d7a57d5360fd5a4578e9702e80f48bc1a513ad00f6f93c72dafebee3ea18 |
|
MD5 | b4fcdb01d1db7952ed6de1e2452c99d9 |
|
BLAKE2b-256 | fa7f2a6592a02b4b8b325a19506d809e6e961bd866592e51f2ff0f9ee97e7d03 |
Close
Hashes for gpt_review-0.0.1rc95.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2910984ca3b1c11a8747635362cccc762d35de6c5ec815d693c81050d6239e3 |
|
MD5 | 95ec5180a5d566b51049884a11e8e6d6 |
|
BLAKE2b-256 | 876121d4de8f367b09bf03fe2161357407696a6c0b1a8f163747410bba0110d6 |