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.4.tar.gz
(18.3 kB
view details)
Built Distribution
codedog-0.5.4-py3-none-any.whl
(29.5 kB
view details)
File details
Details for the file codedog-0.5.4.tar.gz
.
File metadata
- Download URL: codedog-0.5.4.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 | 32ad59872f893de7b45267e70f1fdcb5b5a543d30ced9dbd56516cf15f3c7c4b |
|
MD5 | f14f25b431518853214207c305f512c7 |
|
BLAKE2b-256 | 19b7a7ce221613e2c42088b331f7702e8ed16098b03b7a8821004430a8db6371 |
Provenance
File details
Details for the file codedog-0.5.4-py3-none-any.whl
.
File metadata
- Download URL: codedog-0.5.4-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 | 8c6a71dc1315871c70737636bc08cf059f4b4d9324751c85b3fdbe390060a170 |
|
MD5 | a095321dc73c20e83334d0ba45126867 |
|
BLAKE2b-256 | 3ca6c65b82bf5e5ef9998a04314a1d6bddd590673ee46e3bf161a1df45a72c54 |