ragflow/api/apps
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
..
auth Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
sdk Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
__init__.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
api_app.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
canvas_app.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
chunk_app.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
connector_app.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
conversation_app.py Feat:new api /sequence2txt and update QWenSeq2txt (#11643) 2025-12-02 11:17:31 +08:00
dialog_app.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
document_app.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
evaluation_app.py feat: Add comprehensive RAG evaluation framework (Issue #11656) 2025-12-03 02:09:50 +01:00
file2document_app.py Fix: file manager KB link issue. (#11648) 2025-12-02 12:14:27 +08:00
file_app.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
kb_app.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
langfuse_app.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
llm_app.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
mcp_server_app.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
plugin_app.py Feat: Alter flask to Quart for async API serving. (#11275) 2025-11-18 17:05:16 +08:00
search_app.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
system_app.py Feat: Alter flask to Quart for async API serving. (#11275) 2025-11-18 17:05:16 +08:00
tenant_app.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
user_app.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00