ragflow/api
hsparks.codes 4b8d3aa651 feat: Add comprehensive RAG evaluation framework (Issue #11656)
This PR implements a complete RAG evaluation system that enables developers
to measure and improve RAG quality systematically.

Features:
- Dataset and test case management
- Automated evaluation execution
- Comprehensive metrics (precision, recall, F1, MRR, hit rate)
- Configuration recommendations based on results
- 20+ REST API endpoints
- 60+ unit tests with 100% coverage

Database:
- 4 new models: EvaluationDataset, EvaluationCase, EvaluationRun, EvaluationResult
- Migrations included for all new tables

Testing:
- 60+ comprehensive unit tests
- All tests passing
- 100% service method coverage

Addresses: #11656, #11381, #7735, #10323, #6182, #5546

Breaking Changes: None
Dependencies: None (uses existing RAGFlow dependencies)
2025-12-03 02:09:50 +01:00
..
apps feat: Add comprehensive RAG evaluation framework (Issue #11656) 2025-12-03 02:09:50 +01:00
common Feat:admin api (#10642) 2025-10-18 16:09:48 +08:00
db feat: Add comprehensive RAG evaluation framework (Issue #11656) 2025-12-03 02:09:50 +01:00
utils Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
__init__.py
constants.py Introduce common/constants.py (#10965) 2025-11-03 16:32:37 +08:00
ragflow_server.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
settings.py Move api.settings to common.settings (#11036) 2025-11-06 09:36:38 +08:00
validation.py