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.1rc202.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e0f8eb10ea99321a4999e9554b40bccb8e65009e0537c09e857f4066b344d54 |
|
MD5 | 445d03bbd5d429a4902e32297f81b82c |
|
BLAKE2b-256 | 1b811466c9ac24c6f22d601d55617291f1b90c9c9d1bf2b1bdd83e85d4c8ad0c |
Close
Hashes for gpt_review-0.0.1rc202.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d908a6148705add22aa4990f548de6761a53f6bbba86eab75008a6c8b6c60c0 |
|
MD5 | b3efb4cd1cb8846421d0e16ce69fe0e6 |
|
BLAKE2b-256 | 09125dacd963a65153263923839357b1fb5013f1e89c53eb31685f62e22cdc4e |