ragflow/api/db
hsparks.codes d9a24f4fdc feat: Add hierarchical retrieval architecture for production-grade RAG
Implements three-tier retrieval system to address scalability and precision
limitations in production environments with large document collections.

Features:
- Tier 1: Knowledge Base Routing (auto/rule-based/llm-based)
- Tier 2: Document Filtering (metadata-based)
- Tier 3: Chunk Refinement (vector search with parent-child support)

Changes:
- Add HierarchicalRetrieval class with configurable retrieval pipeline
- Add hierarchical_retrieval_config field to Dialog model
- Add database migration for new configuration field
- Add comprehensive unit tests (35 tests, all passing)

Fixes #11610
2025-12-03 11:16:24 +01:00
..
joint_services Move api.settings to common.settings (#11036) 2025-11-06 09:36:38 +08:00
services Feat: RAG evaluation (#11674) 2025-12-03 17:00:58 +08: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 hierarchical retrieval architecture for production-grade RAG 2025-12-03 11:16:24 +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