Repository navigation
v1.4.0
What's New
RAGAS Evaluation
- New
python main.py --ragascommand runs four industry-standard LLM-as-judge metrics - Faithfulness — every claim grounded in retrieved context
- ResponseRelevancy — answer addresses the question asked
- ContextPrecision — best-matching chunks ranked highest
- ContextRecall — retrieved context covers the ground truth
- Uses the same test cases as
--benchmark— results are directly comparable - Optional dependencies:
pip install -e ".[eval]"— app runs normally without them
Pre-Commit Hooks
- Automated code quality checks run before every
git commit - Hooks: trailing whitespace · end-of-file · YAML/JSON/TOML validation · isort · flake8 (syntax errors only)
- Install with:
pip install -e ".[dev]"thenpre-commit install
Documentation
- README, BENCHMARK.md, and all wiki pages updated to reflect new features
- RAGAS evaluation section added to docs_technical/BENCHMARK.md
Tests
859 local · 385 HF Space · 1,244 total (+16 RAGAS evaluation tests)