Codedog reviews your pull request using llm.
Project description
🐶 Codedog
Review your Github/Gitlab PR with ChatGPT
Configuration
Codedog currently load config from environment variables.
settings:
Config Name | Required | Default | Description |
---|---|---|---|
OPENAI_API_KEY | Yes | Api Key for calling openai gpt api | |
AZURE_OPENAI | No | Use azure openai gpt 3.5 if not blank | |
AZURE_OPENAI_API_KEY | No | Azure openai api key | |
AZURE_OPENAI_API_BASE | No | Azure openai api base | |
AZURE_OPENAI_DEPLOYMENT_ID | No | Azure openai deployment id for gpt 3.5 | |
AZURE_OPENAI_EMBEDDING_DEP_ID | No | Azure openai deployment id for embedding |
Usage
Github Example with GPT4
check example/github_review.py
server
We have a demo server for you to try.
-
Run server with:
poetry install --with http poetry run demoserver
Development
poetry install --with dev, test, http
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
codedog-0.6.0.tar.gz
(19.5 kB
view hashes)
Built Distribution
codedog-0.6.0-py3-none-any.whl
(31.8 kB
view hashes)