Skip to main content

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.1rc131.post1.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

gpt_review-0.0.1rc131.post1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file gpt-review-0.0.1rc131.post1.tar.gz.

File metadata

File hashes

Hashes for gpt-review-0.0.1rc131.post1.tar.gz
Algorithm Hash digest
SHA256 4b7db7da47599c3a232753ce6d0afe4051e18b0835dc6b0bcf7d7a8a26fd6e24
MD5 bf952d484ccc0264fb27ec231b216dd6
BLAKE2b-256 293f78d38cfb32ea155ab30bfaf3a7161a97290f83824081602e5bd81c89a16e

See more details on using hashes here.

File details

Details for the file gpt_review-0.0.1rc131.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for gpt_review-0.0.1rc131.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 c398f286f505d97642cd9782e9a7c6e3271a5b951171b8681cfd1887dc897d03
MD5 dbec53c42bda06c18d0b82b8db7913e7
BLAKE2b-256 4dd6f842595bae78d44018e9cec911ac7c7c49d40438f83d977468d40b05bd61

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page