ragflow/rag
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
..
app feat: improve presentation PdfParser (#11639) 2025-12-02 17:35:14 +08:00
flow Feat: support TOC transformer. (#11685) 2025-12-03 12:27:50 +08:00
llm Refa: make RAGFlow more asynchronous 2 (#11689) 2025-12-03 14:19:53 +08:00
nlp Import rag_tokenizer from Infinity (#11647) 2025-12-02 14:59:37 +08:00
prompts Refa: make RAGFlow more asynchronous 2 (#11689) 2025-12-03 14:19:53 +08:00
res Fix: prio synonym match than wordnet for english (#10762) 2025-10-27 09:32:55 +08:00
retrieval feat: Add hierarchical retrieval architecture for production-grade RAG 2025-12-03 11:16:24 +01:00
svr feat: Auto-disable Raptor for structured data (Issue #11653) (#11676) 2025-12-03 17:02:29 +08:00
utils feat: Auto-disable Raptor for structured data (Issue #11653) (#11676) 2025-12-03 17:02:29 +08:00
__init__.py Fix: incorrect async chat streamly output (#11679) 2025-12-03 11:15:45 +08:00
benchmark.py Move api.settings to common.settings (#11036) 2025-11-06 09:36:38 +08:00
raptor.py Feat: add fault-tolerant mechanism to RAPTOR (#11206) 2025-11-13 18:48:07 +08:00
settings.py Move api.settings to common.settings (#11036) 2025-11-06 09:36:38 +08:00