Skip to main content

Codedog reviews your pull request using llm.

Project description

🐶 Codedog

Checkstyle Pytest Coverage

Review your Github/Gitlab PR with ChatGPT

Design

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.

  1. Run server with:

    poetry install --with http
    
    poetry run demoserver
    

Development

poetry install --with dev, test, http

Project details


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 hashes)

Uploaded Source

Built Distribution

codedog-0.5.5-py3-none-any.whl (29.5 kB view hashes)

Uploaded Python 3

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