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 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_GPT4_DEPLOYMENT_ID No Azure openai deployment id for gpt 4

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.7.1.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

codedog-0.7.1-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file codedog-0.7.1.tar.gz.

File metadata

  • Download URL: codedog-0.7.1.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.10 Linux/5.15.0-1042-azure

File hashes

Hashes for codedog-0.7.1.tar.gz
Algorithm Hash digest
SHA256 4fc7a42852a72fcf55e1788ff95a15d9e061b82aed4518377ea3bf44bf16116e
MD5 2b8eb65e53cd49a5de8cd3687be2309c
BLAKE2b-256 9bf7e2264e8e07075e4c85c515b27137ed5b27648d19c04953428303d62e0435

See more details on using hashes here.

Provenance

File details

Details for the file codedog-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: codedog-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.10 Linux/5.15.0-1042-azure

File hashes

Hashes for codedog-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a7e02bc1b6989573cedecab7f4e17e905d15c579b09d0bdfc9249484e1359036
MD5 d22e0df96df85a95ad2cf5e82ffb9924
BLAKE2b-256 b747eeaac0cf150eda2be7d0bfe8ccf2700df1efd8c4e484a9fb8bc8fe4fc01d

See more details on using hashes here.

Provenance

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