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.1.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.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: redcheck-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 7713e74f60a8f83a26457ccd2aa5dd64e53ef8394a4e8292e80e0a40913ce51d
MD5 0579261fc92b87c4b2373bbd403ee4d5
BLAKE2b-256 388981cf3df579b2b6a53600885b63485fd2c1b109a99405a5a0e8049bc01170

See more details on using hashes here.

File details

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

File metadata

  • Download URL: redcheck-0.3.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4484861cb844735b05a50dae8e2840b4af285f48c4eb5d173899f846c033d8c0
MD5 507e173606cda0eb932342b649a8e783
BLAKE2b-256 842105d30abfd12829ddadcc3f0c233100d2f77af49e7c67ee5f6a312113ba80

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