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.0.tar.gz (4.4 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.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: redcheck-0.3.0.tar.gz
  • Upload date:
  • Size: 4.4 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.0.tar.gz
Algorithm Hash digest
SHA256 5369074bd1de4750fffe37977c64a2d35aa1e5887270b4e47ef07f0cad2d1fbd
MD5 609d736ebb4f205d3c91c8e14606ac74
BLAKE2b-256 8f986bd1372b6fae5226b45c992bd85f737dfbb7d1b429dbbb903d7a2bb8a8d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: redcheck-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3ea03a2611775a3e6195e69d7fb9a271d9be13291ec22c6e4d42a5aad5d4e61
MD5 c504d2d9526dab1e06cb597476b38835
BLAKE2b-256 8ae00cf5994283f45006c4070092216feac9f663cd1dc470a6d8019bdf1c6df6

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