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

Uploaded Source

Built Distribution

codedog-0.5.1-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codedog-0.5.1.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.9 Darwin/22.3.0

File hashes

Hashes for codedog-0.5.1.tar.gz
Algorithm Hash digest
SHA256 5fcbdf6f111b047d577fe5ae0a5971d560a9941a5bc40d5eaf0a5438e85082df
MD5 15d78df70262d792c2be2a8c5be70e4c
BLAKE2b-256 c22d9d88fc128d4e25b3381fa6d1c66553ddb5683c4dd751bff43c5983b06a52

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: codedog-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.9 Darwin/22.3.0

File hashes

Hashes for codedog-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fe894c3c2d83a505a910e08dca597585e3d2dbb48a4009dac4633dc4eb7253c7
MD5 7ac848f685625659aa0b0235d5b7c1ac
BLAKE2b-256 1843c5d4f5631380cecfefb2c8cd456fdd213e82b215b5d008f45dbec61e16c7

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