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

Uploaded Source

Built Distribution

codedog-0.5.4-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

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

Hashes for codedog-0.5.4.tar.gz
Algorithm Hash digest
SHA256 32ad59872f893de7b45267e70f1fdcb5b5a543d30ced9dbd56516cf15f3c7c4b
MD5 f14f25b431518853214207c305f512c7
BLAKE2b-256 19b7a7ce221613e2c42088b331f7702e8ed16098b03b7a8821004430a8db6371

See more details on using hashes here.

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

Hashes for codedog-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8c6a71dc1315871c70737636bc08cf059f4b4d9324751c85b3fdbe390060a170
MD5 a095321dc73c20e83334d0ba45126867
BLAKE2b-256 3ca6c65b82bf5e5ef9998a04314a1d6bddd590673ee46e3bf161a1df45a72c54

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