ragflow/api/db
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
..
joint_services Move api.settings to common.settings (#11036) 2025-11-06 09:36:38 +08:00
services feat: Add comprehensive RAG evaluation framework (Issue #11656) 2025-12-03 02:09:50 +01:00
__init__.py Fix: GraphRAG and RAPTOR tasks do not affect document status (#11194) 2025-11-12 12:03:41 +08:00
db_models.py feat: Add comprehensive RAG evaluation framework (Issue #11656) 2025-12-03 02:09:50 +01:00
db_utils.py Add time utils (#10849) 2025-10-28 19:09:14 +08:00
init_data.py Allow create super user when start rag server. (#10634) 2025-11-24 19:02:08 +08:00
reload_config_base.py Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
runtime_config.py Admin: add 'show version' (#11079) 2025-11-06 19:24:46 +08:00