ragflow/test
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
..
testcases Feat: add context for figure and table (#11547) 2025-11-27 10:21:44 +08:00
unit_test feat: Add hierarchical retrieval architecture for production-grade RAG 2025-12-03 11:16:24 +01:00