CLI tool for code review and question answering using GPT models
Top 92.1% on sourcepulse
This Python CLI and GitHub Action leverages OpenAI or Azure OpenAI models to automate pull request reviews, generate commit messages, and answer questions about code or documents. It targets developers and teams seeking to enhance code quality and streamline workflows by integrating AI-powered assistance directly into their development process.
How It Works
The tool acts as an interface to large language models, allowing users to interact with them via a command-line interface or a GitHub Action. It supports direct API calls to OpenAI or connections to Azure OpenAI endpoints, with configurable parameters for model behavior such as max_tokens
and temperature
. For pull request reviews, it analyzes diffs and provides feedback, aiming to catch potential issues and suggest improvements.
Quick Start & Requirements
pip install gpt-review
OPENAI_API_KEY
) or Azure OpenAI credentials (AZURE_OPENAI_API_URL
, AZURE_OPENAI_API_KEY
).AZURE_KEY_VAULT_URL
.GITHUB_ACCESS_TOKEN
.--help
flags.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project's license is not specified, which may impact commercial use or integration into closed-source projects. There is no mention of supported Python versions beyond the installation command.
8 months ago
Inactive