# LettuceDetect

> Lightweight hallucination detection framework for RAG applications

- **URL**: https://www.freshcrate.ai/projects/LettuceDetect
- **Author**: KRLabsOrg
- **Category**: Frameworks
- **Latest version**: `0.1.8` (2025-08-31)
- **License**: MIT
- **Source**: https://github.com/KRLabsOrg/LettuceDetect
- **Homepage**: https://krlabsorg.github.io/LettuceDetect
- **Language**: Python
- **GitHub**: 565 stars, 39 forks
- **Registry**: github
- **Tags**: `bert`, `hallucination-detection`, `hallucination-evaluation`, `information-extraction`, `nlp`, `python`, `pytorch`, `token-classification`

## Description

Lightweight hallucination detection framework for RAG applications

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `0.1.8` | 2025-08-31 | Low | ## What's Changed * TinyLettuce, RagFactChecker, Elysia by @adaamko in https://github.com/KRLabsOrg/LettuceDetect/pull/26 * HallucinationGenerator by RagFactChecker * Fixed link by @adaamko in https://github.com/KRLabsOrg/LettuceDetect/pull/27   **Full Changelog**: https://github.com/KRLabsOrg/LettuceDetect/compare/0.1.7...0.1.8 |
| `0.1.7` | 2025-05-18 | Low | ## What's Changed * Preprocess RagBenchData & translate files by @nadiaverdha in https://github.com/KRLabsOrg/LettuceDetect/pull/7 * Feature/translation ragbench by @adaamko in https://github.com/KRLabsOrg/LettuceDetect/pull/9 * Add Web API and Python Client Library by @ceeli in https://github.com/KRLabsOrg/LettuceDetect/pull/12 * Fix/Copying tensor by @lebe1 in https://github.com/KRLabsOrg/LettuceDetect/pull/18 * Chat GPT and RAGAS Baseline by @nadiaverdha in https://github.com/KRLabsOrg/L |
| `0.1.6` | 2025-02-27 | Low | ## What's Changed * Only pyproject now, added ruff support, github workflows by @adaamko in https://github.com/KRLabsOrg/LettuceDetect/pull/1 * Feature/workflow by @adaamko in https://github.com/KRLabsOrg/LettuceDetect/pull/2  ## New Contributors * @adaamko made their first contribution in https://github.com/KRLabsOrg/LettuceDetect/pull/1  **Full Changelog**: https://github.com/KRLabsOrg/LettuceDetect/compare/0.1.5...0.1.6 |
| `0.1.5` | 2025-02-22 | Low | Release 0.1.5 |
| `0.1.4` | 2025-02-12 | Low | Release 0.1.4 |
| `0.1.3` | 2025-02-12 | Low | **Full Changelog**: https://github.com/KRLabsOrg/LettuceDetect/compare/0.1.2...0.1.3 |
| `0.1.2` | 2025-02-11 | Low | **Full Changelog**: https://github.com/KRLabsOrg/LettuceDetect/compare/0.1.1...0.1.2 |
| `0.1.1` | 2025-02-10 | Low | **Full Changelog**: https://github.com/KRLabsOrg/LettuceDetect/compare/0.1.0...0.1.1 |
| `0.1.0` | 2025-02-09 | Low | First version of the model, results:  -- Token-Level Evaluation ----  ``` Detailed Classification Report:               precision    recall  f1-score   support     Supported     0.9799    0.9859    0.9829    422046 Hallucinated     0.6096    0.5222    0.5625     17844      accuracy                         0.9671    439890    macro avg     0.7947    0.7540    0.7727    439890 weighted avg     0.9649    0.9671    0.9658    439890 ```   Evaluation Results: ```  Hallucination Det |

## Dependency audit

- **Score**: 79/100
- **Total deps**: 16
- **Resolved**: 6
- **Unresolved**: 10
- **License conflicts**: 0
- **Warnings**: 4
- **Scanned**: 2026-05-04

## Citation

- HTML: https://www.freshcrate.ai/projects/LettuceDetect
- Markdown: https://www.freshcrate.ai/projects/LettuceDetect.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/LettuceDetect/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
