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.1rc114.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65cd5e09f111771cbc07b45f153919120da58fbec59724f3f7594ee812f1fae3 |
|
MD5 | d7d7cd8695ac56ef8f11ee747799bec6 |
|
BLAKE2b-256 | 886cc4903eb71390abf542c9c20fcfb7b9a248e388c489d1f68ca4681ee51167 |
Close
Hashes for gpt_review-0.0.1rc114.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3573b31ff542d1b6b365c432fae2eb5ee99aac221d81a4c3138de73add1d855 |
|
MD5 | a5dcb23bfb895b2c0f33014e667312f3 |
|
BLAKE2b-256 | 0de7822b8a096556f0ea17acb4fc60caa71df059fc4f25a8ec1ab09510a24180 |