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.1.tar.gz
(4.4 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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7713e74f60a8f83a26457ccd2aa5dd64e53ef8394a4e8292e80e0a40913ce51d
|
|
| MD5 |
0579261fc92b87c4b2373bbd403ee4d5
|
|
| BLAKE2b-256 |
388981cf3df579b2b6a53600885b63485fd2c1b109a99405a5a0e8049bc01170
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4484861cb844735b05a50dae8e2840b4af285f48c4eb5d173899f846c033d8c0
|
|
| MD5 |
507e173606cda0eb932342b649a8e783
|
|
| BLAKE2b-256 |
842105d30abfd12829ddadcc3f0c233100d2f77af49e7c67ee5f6a312113ba80
|