3層構造 - Modular RAGはRAGシステムとして3層構造になっており、以下のようなものがあります。 モジュールタイプ モジュール オペレータ Indexing Chunk Optimization Sliding Window, Summary, Small-to-Big, Metadata Attachment Structural Organization Hierarchical Index, KG Organization Pre-Retrieval Query Expansion Multi Query, Sub Query, Cove, Query Transformation Rewrite, (Reverse) HyDE, Step-back Prompting Query Routing Metadata Router/Filter, Semantic Router Query Construction Text-to-cypher, Text-to-SQL Retrieval Retriever Selection Sparse Retriever, Dense Retriever, Mix Retriever Retriever Tuning SFT, LSR (LM-supervised Retriever), RL, Adapter Post-Retrieval Rerank Rule-Based, Model-Based/LLM-Based Compression/Selection (Long)LLMLingua, Recomp, Selective Context, Tagging-Filter, LLM-Critique Generation Generator Selection Cloud API-base, On-premises, Tuning-base Generator Tuning SFT, RL, Dual FT Orchestration Scheduling Rule-base, Prompt-base, Tuning-base Fusion Possibility Ensemble, RRF (Reciprocal Rank Fusion)