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.4.tar.gz (3.9 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.4-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: redcheck-0.3.4.tar.gz
  • Upload date:
  • Size: 3.9 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.4.tar.gz
Algorithm Hash digest
SHA256 33ae6323d40f21c3f70def42638aa886f405e5608e9cba2d83747648fcf02db9
MD5 a5383b9a4d160937078b0602a18b26db
BLAKE2b-256 d1f44e81581f8c8c3340e4b4df8068aa35d3ddf3ec2afce661193c2a68bdf6e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: redcheck-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c390281b033623ca7a9986ef88bded9610dbb009ea542aa6bed52a9afedc4fd1
MD5 acd5fd99ebe100e94e682fb9e0d05344
BLAKE2b-256 2ad2fe8a11a65d58c56ff6a36dae0fbd5f175597b96901fd30b26198983b2d3a

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