Skip to main content

RedCheck 🛡️

PyPI version License: MIT

Lightweight evaluation engine for LLM outputs, hallucination detection, and relevance verification using OpenAI, Anthropic Claude, or lexical fallbacks.

Installation

pip install redcheck

To update to the latest version:

pip install --upgrade redcheck

Quick Start

from redcheck import RedCheck

# Auto-detects OpenAI or Anthropic API keys
checker = RedCheck()

result = checker.evaluate_relevance(
    prompt="How do I configure an SMTP server?",
    response="You need a domain, DNS records, and an SMTP port."
)

print(result)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redcheck-0.3.3.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

redcheck-0.3.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file redcheck-0.3.3.tar.gz.

File metadata

  • Download URL: redcheck-0.3.3.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for redcheck-0.3.3.tar.gz
Algorithm Hash digest
SHA256 f408b255b5e94c63c2ba7ef078fe14aca9faa79e750afeefff7fc14d4ba4a4f4
MD5 de7499e745ea4fc7b2f91cfbba012309
BLAKE2b-256 59905ea2c72d669732d83dbdec6cadb61bdf30c10857595f3a66b851390214c5

See more details on using hashes here.

File details

Details for the file redcheck-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: redcheck-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for redcheck-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 563597104f199e080cc4605bcb41a3e1454fa77ee79a0e451a5e2221fa38a169
MD5 d10e7dbf2a58f870cb5a0bef02919f74
BLAKE2b-256 7ae9d77a6ae3157825c02f7c0390d20425cb04992d294bb245fac85ae3f40666

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page