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.5.5.tar.gz
(18.3 kB
view details)
Built Distribution
codedog-0.5.5-py3-none-any.whl
(29.5 kB
view details)
File details
Details for the file codedog-0.5.5.tar.gz
.
File metadata
- Download URL: codedog-0.5.5.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.9 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b5a7fcd8c4af362bb37fba07fbb4674d973583393828cf04dd3e2ff79a53ace |
|
MD5 | c1407c3590119f605dfcbc5420608963 |
|
BLAKE2b-256 | db0636af2708e3faa6c947d78c1243bafbc70d315eaac26f182c5ce4f7f4f2b4 |
Provenance
File details
Details for the file codedog-0.5.5-py3-none-any.whl
.
File metadata
- Download URL: codedog-0.5.5-py3-none-any.whl
- Upload date:
- Size: 29.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.9 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01ed8b56ef2f14dfa7be148bf0af0412321fc8e7232712d33f45479d03cb422f |
|
MD5 | b9d88c289d853043af416efc8a089ea9 |
|
BLAKE2b-256 | 61f984fb8a77f561e31a79adbbc3ff20adb5dca3e90c31f0127b8f447c073b42 |