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
services Feat: RAG evaluation (#11674) 2025-12-03 17:00:58 +08:00
__init__.py
db_models.py feat: Add hierarchical retrieval architecture for production-grade RAG 2025-12-03 11:16:24 +01:00
db_utils.py
init_data.py Allow create super user when start rag server. (#10634) 2025-11-24 19:02:08 +08:00
reload_config_base.py
runtime_config.py