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.1rc256.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f863f90889b2f57c0f4b9d6c7dcaa514ffffa238d402b06737105dd708576264 |
|
MD5 | cc3b005a0b8cdd756deca37c6186d2e0 |
|
BLAKE2b-256 | 4704489c5dbe1585ddb1dc7b774ca0fc3b9db5c8d0ed0e12aa6284e8cfed9bb5 |
Close
Hashes for gpt_review-0.0.1rc256.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 529d6ce1296011655639324b95eddb07a4ed9b14e102659c541d3e26bca039ae |
|
MD5 | d4a88e2a8a2be8571660b9c605ba4a00 |
|
BLAKE2b-256 | c274807048727372e853e557d5d18c26f54e9beba0bc8359743157b93345aa16 |