RedCheck 🛡️
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.2.tar.gz
(4.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file redcheck-0.3.2.tar.gz.
File metadata
- Download URL: redcheck-0.3.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae5d0db436f9760543f64e012e9b281de5ff0690b7381ac75b96cef40292f17e
|
|
| MD5 |
e78d61b5e27317240daf1c9e07e4318b
|
|
| BLAKE2b-256 |
e820d235bf7cd133c6e44e272c1933a8ed58508cae73e03f1bf08daa74b71f42
|
File details
Details for the file redcheck-0.3.2-py3-none-any.whl.
File metadata
- Download URL: redcheck-0.3.2-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa5c7e84255771f92dc6ddd9be3271327c2ac1a5e858aea3fd6e5cce6f12f773
|
|
| MD5 |
e6bf7642a32fe2821f99f195d61d6153
|
|
| BLAKE2b-256 |
1983de6b6701afacb362a6d2db9f62213de7d7235406589abf7eab65216f1776
|