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

Uploaded Source

Built Distribution

codedog-0.7.0-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codedog-0.7.0.tar.gz
  • Upload date:
  • Size: 19.7 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.0.tar.gz
Algorithm Hash digest
SHA256 4c09a8743e2755416b04d961643e304a5f91912ea66349f603defb33f84e0511
MD5 648ba3f0335483231655867ce0e89710
BLAKE2b-256 ce6d0ef77000bfc7a9bb24f6c74d768f0de9703daa91f8face171256856ca586

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: codedog-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 31.9 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0dabf67714cdb991f89af5fd34a527dfdb6cab01abab0f4fd4834292bcd776f7
MD5 ee6dd7dd4c8cc9238d4c70f0cc2b6674
BLAKE2b-256 4deb31a10be1ea58a62c0f352e9bb5b1dab17b155f61aa239b419c1faf3c23eb

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