---
title: "RAG patterns (CS)"
source: "https://systems-analysis.info/int/RAG_patterns_(CS)"
wiki: "systems-analysis.info/int"
article: "RAG_patterns_(CS)"
language: "cs"
categories:
  - "Category:Czech"
  - "Category:Large language models"
  - "Category:Prompt engineering"
revision_id: 6108
wiki_created_at: 2026-09-06T23:58:26Z
wiki_modified_at: 2026-09-06T23:58:26Z
downloaded_at: 2026-09-07T23:12:04Z
---

# RAG patterns (CS)

**RAG vzory** (angl. *RAG Patterns*) — jsou sadou architektonických a metodologických přístupů pro budování systémů **Retrieval-Augmented Generation** (RAG). Tyto vzory jsou určeny k řešení fundamentálních problémů velkých jazykových modelů (LLM), jako jsou halucinace, zastarávání znalostí a nedostatek doménové specifičnosti, prostřednictvím integrace LLM s externími, dynamicky dostupnými zdroji dat<sup>[\[1\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-lewis2020-1)</sup>. Evoluce RAG prošla cestou od jednoduchých lineárních pipeline k složitým modulárním a agentním systémům<sup>[\[2\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-survey2024-2)</sup>.

## Základní RAG vzory

S rozvojem technologie se objevilo mnoho RAG vzorů, z nichž každý řeší určité úlohy a má své kompromisy mezi kvalitou, rychlostí a náklady.

- **Classic RAG (Klasický RAG)** — základní přístup, kde je dotaz uživatele vektorizován pro vyhledávání relevantních fragmentů (chunků) ve vektorové databázi; nalezené chunky jsou předány LLM spolu s otázkou pro generování odpovědi<sup>[\[1\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-lewis2020-1)</sup>.

<!-- -->

- **Multi‑Query RAG (Vícenásobné dotazy)** — LLM generuje několik přeformulovaných/upřesněných variant původního dotazu; vyhledávání probíhá podle všech variant, výsledky jsou sloučeny, což zvyšuje úplnost (*recall*)<sup>[\[3\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-langchain-multiquery-3)</sup>.

<!-- -->

- **HyDE (Hypothetical Document Expansion)** — pro překonání „sémantické mezery" mezi krátkým dotazem a dlouhými dokumenty. LLM nejprve vygeneruje „hypotetický" dokument-odpověď, poté je jeho embedding použit pro vyhledávání, což často zlepšuje kvalitu extrakce<sup>[\[4\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-hyde-4)</sup>.

<!-- -->

- **Hybrid Retrieval (Hybridní vyhledávání)** — kombinace sémantického (vektorového) a lexikálního (BM25) vyhledávání. Hybridní schémata se stala standardem pro produkční systémy: vektorové vyhledávání pokrývá sémantické shody, zatímco BM25 nachází přesné termíny/ID/akronymy; výsledky jsou sloučeny fúzí<sup>[\[5\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-weaviate-hybrid-5)[\[6\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-qdrant-hybrid-6)[\[7\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-milvus-fulltext-7)</sup>.

<!-- -->

- **Re‑ranking (Dodatečné řazení)** — dvoustupňový proces: rychlý retriever vrátí sadu kandidátů (např. top‑100), poté cross-encoder (nebo jiný reranker) přepočítá relevanci a vybere nejlepší (např. top‑5) pro LLM<sup>[\[8\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-nogueira2019-8)[\[9\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-cohere-rerank-9)</sup>.

<!-- -->

- **Query Routing (Směrování dotazů)** — v systémech s více heterogenními zdroji dat (různé indexy/databáze/API) je dotaz nasměrován k nejvhodnějšímu zdroji pomocí routeru (LLM-selektor nebo klasifikátor); zahrnuje fallback strategie<sup>[\[10\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-llama-router-10)</sup>.

<!-- -->

- **Agentic/Web RAG (Agentní RAG)** — LLM vystupuje jako agent: dekompozuje složité otázky, plánuje iterace a využívá nástroje (vektorové vyhledávání, webové vyhledávání) se zpětnou vazbou. Typická implementace — paradigma ReAct<sup>[\[11\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-react-11)</sup>; pro webově orientovaný sběr dat a povinné citování viz WebGPT<sup>[\[12\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-webgpt-12)</sup>.

### Příbuzná a rozvíjející se paradigmata

- **GraphRAG (Grafový RAG)** — využívá znalostní graf jako zdroj a mechanismus výběru kontextu; vyhledávání probíhá podle struktury vazeb mezi entitami i podle textu, čímž zvyšuje interpretovatelnost a kvalitu u multi‑hop otázek<sup>[\[13\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-graphrag-13)[\[14\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-graphrag-project-14)</sup>.
- **MM‑RAG (Multimodální RAG)** — práce s textem a vizuálními zdroji (skeny/schémata/tabulky). Příklad: VisRAG demonstruje VLM-orientovaný retrieval a generování na multimodálních dokumentech<sup>[\[15\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-visrag-15)</sup>.
- **Packaging & Context Handling (Balení kontextu)** — způsoby integrace nalezených chunků do promptu: *Stuff*, *Map‑Reduce*, *Refine*, *Tree‑of‑Chunks (RAPTOR)*<sup>[\[16\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-raptor-16)</sup>.

## Srovnávací tabulka vzorů

| Vzor                 | Kdy použít                                                 | Vliv na kvalitu                                                                                                                                                                                                                                                                                                          | Náklady / Latence | Rizika a omezení                                       |
|----------------------|------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|--------------------------------------------------------|
| **Classic RAG**      | PoC a jednoduché Q&A nad homogenní bází                    | Základní úroveň; silně závisí na embeddingech<sup>[\[1\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-lewis2020-1)</sup>                                                                                                                                                                               | Nízká             | Citlivost na formulace; riziko nerelevantního kontextu |
| **Hybrid Retrieval** | Ve většině produkčních scénářů; mnoho kódů/akronymů/ID     | Zvyšuje úplnost; pokrývá přesné termíny<sup>[\[5\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-weaviate-hybrid-5)[\[6\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-qdrant-hybrid-6)[\[7\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-milvus-fulltext-7)</sup> | Nízká/Střední     | Ladění vah fúze; dva indexy                            |
| **Re‑ranking**       | Kritický, kdy je důležitá vysoká přesnost                  | Výrazný nárůst precision na top‑k<sup>[\[8\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-nogueira2019-8)[\[9\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-cohere-rerank-9)</sup>                                                                                                  | Střední/Vysoká    | Dodatečná latence/náklady                              |
| **Multi‑Query**      | Krátké/mnohoaspektové dotazy                               | Zvyšuje recall<sup>[\[3\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-langchain-multiquery-3)</sup>                                                                                                                                                                                                   | Střední           | Nadbytečné/šumivé přeformulace                         |
| **HyDE**             | Krátké/nejednoznačné dotazy s velkou „sémantickou mezerou" | Zlepšuje kvalitu retrievalu *zero‑shot*<sup>[\[4\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-hyde-4)</sup>                                                                                                                                                                                          | Střední           | Závisí na kvalitě „hypotetického" textu                |
| **Query Routing**    | Více zdrojů (dokumentová báze, SQL, API, web)              | Zvyšuje relevanci díky správnému zdroji<sup>[\[10\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-llama-router-10)</sup>                                                                                                                                                                                | Střední           | Chyba směrování = selhání vyhledávání                  |
| **Agentic/Web RAG**  | Složité, výzkumné, vícekrokové dotazy                      | Řeší úlohy přesahující lineární pipeline<sup>[\[11\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-react-11)[\[12\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-webgpt-12)</sup>                                                                                                     | Vysoká            | Složitost, riziko zacyklení; nutné guardrails          |

Srovnání klíčových RAG vzorů

## Praktická implementace a architektura

### Fáze nasazení

1.  **Proof of Concept (PoC):** Začněte s **Classic RAG** na omezeném, ale reprezentativním datasetu, abyste ověřili kvalitu embeddingů a základní retrieval<sup>[\[1\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-lewis2020-1)</sup>.
2.  **Minimum Viable Product (MVP):** Nasaďte **Hybrid Retrieval** a **Re‑ranking** jako nejlepší poměr „úsilí/efekt"<sup>[\[5\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-weaviate-hybrid-5)[\[8\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-nogueira2019-8)</sup>.
3.  **Produkce:** Přidejte transformace dotazů (**HyDE**, **Multi‑Query**) a v případě potřeby **Query Routing**; nastavte observability (logování retrievalu/reranku/odpovědí) a A/B testování<sup>[\[3\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-langchain-multiquery-3)[\[10\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-llama-router-10)</sup>.

### Klíčové komponenty

- **Chunking (Dělení na chunky):** Jeden z nejkritičtějších faktorů kvality. Naivní fixní velikost často přerušuje sémantické celky. Doporučují se strukturálně orientované (podle značení) nebo rekurzivní splittery (odstavec → věta → slovo)<sup>[\[17\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-rcsplit-17)[\[18\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-llama-hier-18)</sup>.
- **Embeddingy a metadata:** Uchovávejte u každého chunku document_id, stránku/sekci, nadpis, data; to je nezbytné pro filtrování a správné citování zdrojů.
- **Hybridní retrieval a rerank:** Použijte BM25+vektor s fúzí (nebo RRF), poté cross-encoder pro přeřazení na malém poolu kandidátů<sup>[\[5\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-weaviate-hybrid-5)[\[6\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-qdrant-hybrid-6)[\[8\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-nogueira2019-8)</sup>.
- **Balení kontextu:** Volte *Map‑Reduce*, *Refine* nebo *Tree‑of‑Chunks* pro dlouhé korpusy<sup>[\[16\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-raptor-16)[\[18\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-llama-hier-18)</sup>.

### Časté chyby (antivzory)

- **Pouze vektorové vyhledávání** bez BM25 → selhání na kódech/ID/akronymech<sup>[\[5\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-weaviate-hybrid-5)[\[7\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-milvus-fulltext-7)</sup>.
- **Příliš velký/malý chunk** → ztráta kontextu nebo „rozmazání" embeddingu<sup>[\[17\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-rcsplit-17)</sup>.
- **Absence reranku v produkci** → LLM dostává šumivý kontext<sup>[\[8\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-nogueira2019-8)</sup>.
- **Žádná observability** a trasování zdrojů → nelze analyzovat příčiny chyb (viz hodnocení RAG).

## Hodnocení kvality a metriky

Hodnocení probíhá na úrovni retrievalu (offline) a end‑to‑end (generování).

### Metriky retrieveru

- **Hit Rate, Recall@k, MRR** — pokrytí a pozice relevantních dokumentů.
- **Context Precision & Recall** — nakolik extrahovaný kontext neobsahuje „šum" a pokrývá vše potřebné (implementováno v RAGAS)<sup>[\[19\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-ragas-19)</sup>.

### Metriky generátoru (end‑to‑end)

- **Faithfulness / Groundedness** — soulad odpovědi s poskytnutým kontextem.
- **Answer Relevancy (Relevance odpovědi)** — soulad s původní otázkou.

Pro automatizaci metrik se používají open‑source frameworky: **RAGAS**, **TruLens** (*RAG triad*: context relevance, groundedness, answer relevance), **DeepEval**<sup>[\[20\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-trulens-20)[\[21\]](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_note-deepeval-21)</sup>.

## Viz také

- Retrieval-Augmented Generation (RAG)
- Vektorové databáze
- Embedding
- AI-agent
- GraphRAG
- MM-RAG
- Hodnocení a benchmarky LLM

## Literatura

- Lewis, P., Perez, E., et al. (2020). *Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks*. NeurIPS. arXiv:2005.11401.
- Fan, W., Ding, Y., et al. (2024). *A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models*. KDD. DOI:10.1145/3637528.3671470; arXiv:2405.06211.
- Gao, L., Ma, X., Lin, J., Callan, J. (2023). *Precise Zero‑Shot Dense Retrieval without Relevance Labels (HyDE)*. ACL 2023. ACL Anthology; arXiv:2212.10496.
- Nogueira, R., Cho, K. (2019). *Passage Re‑ranking with BERT*. arXiv:1901.04085.
- Weaviate Docs. *Hybrid search (BM25+Vector)*. <a href="https://docs.weaviate.io/weaviate/concepts/search/hybrid-search" class="external autonumber" rel="nofollow">[1]</a>.
- Qdrant Docs. *Hybrid Queries*. <a href="https://qdrant.tech/documentation/concepts/hybrid-queries/" class="external autonumber" rel="nofollow">[2]</a>.
- Milvus Docs. *Full‑Text Search* / *Hybrid Search*. <a href="https://milvus.io/docs/full-text-search.md" class="external autonumber" rel="nofollow">[3]</a> / <a href="https://milvus.io/docs/hybrid_search_with_milvus.md" class="external autonumber" rel="nofollow">[4]</a>.
- LangChain Docs. *MultiQueryRetriever*. <a href="https://python.langchain.com/docs/how_to/MultiQueryRetriever/" class="external autonumber" rel="nofollow">[5]</a>.
- Cohere Docs. *Rerank — best practices*. <a href="https://docs.cohere.com/docs/reranking-best-practices" class="external autonumber" rel="nofollow">[6]</a>.
- LlamaIndex Docs. *Routing (query routers/selectors)*. <a href="https://docs.llamaindex.ai/en/stable/module_guides/querying/router/" class="external autonumber" rel="nofollow">[7]</a>.
- Yao, S., et al. (2023). *ReAct: Synergizing Reasoning and Acting in Language Models*. ICLR. arXiv:2210.03629.
- Nakano, R., et al. (2021). *WebGPT: Browser‑assisted question‑answering with human feedback*. arXiv:2112.09332.
- Microsoft Research Blog. *GraphRAG: Unlocking LLM discovery on narrative private data*. (2024). <a href="https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/" class="external autonumber" rel="nofollow">[8]</a>.
- Microsoft Research. *Project GraphRAG*. (2024). <a href="https://www.microsoft.com/en-us/research/project/graphrag/" class="external autonumber" rel="nofollow">[9]</a>.
- Yu, S., et al. (2024). *VisRAG: Vision‑based Retrieval‑augmented Generation on Multi‑modality Documents*. arXiv:2410.10594.
- Sarthi, P., et al. (2024). *RAPTOR: Recursive Abstractive Processing for Tree‑Organized Retrieval*. arXiv:2401.18059.
- Es, S., et al. (2024). *RAGAs: Automated Evaluation of Retrieval Augmented Generation*. EACL (Demo). <a href="https://aclanthology.org/2024.eacl-demo.16/" class="external autonumber" rel="nofollow">[10]</a>.
- TruLens Docs. *RAG Triad*. <a href="https://www.trulens.org/getting_started/core_concepts/rag_triad/" class="external autonumber" rel="nofollow">[11]</a>.
- DeepEval (GitHub). *The LLM Evaluation Framework*. <a href="https://github.com/confident-ai/deepeval" class="external autonumber" rel="nofollow">[12]</a>.
- LangChain Docs. *RecursiveCharacterTextSplitter*. <a href="https://python.langchain.com/docs/how_to/recursive_text_splitter/" class="external autonumber" rel="nofollow">[13]</a>.
- LlamaIndex Docs. *HierarchicalNodeParser*; *Response Synthesis (Tree/Refine)*. <a href="https://docs.llamaindex.ai/en/stable/api/llama_index.core.node_parser.HierarchicalNodeParser.html" class="external autonumber" rel="nofollow">[14]</a>; <a href="https://docs.llamaindex.ai/en/stable/examples/low_level/response_synthesis/" class="external autonumber" rel="nofollow">[15]</a>.

## Poznámky

1.  <span id="cite_note-lewis2020-1">↑ <sup>[1.0](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-lewis2020_1-0)</sup> <sup>[1.1](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-lewis2020_1-1)</sup> <sup>[1.2](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-lewis2020_1-2)</sup> <sup>[1.3](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-lewis2020_1-3)</sup> Lewis, P., Perez, E., et al. (2020). *Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks*. NeurIPS. arXiv:2005.11401.</span>
2.  <span id="cite_note-survey2024-2">[↑](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-survey2024_2-0) Fan, W., Ding, Y., et al. (2024). *A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models*. KDD. DOI:10.1145/3637528.3671470; arXiv:2405.06211.</span>
3.  <span id="cite_note-langchain-multiquery-3">↑ <sup>[3.0](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-langchain-multiquery_3-0)</sup> <sup>[3.1](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-langchain-multiquery_3-1)</sup> <sup>[3.2](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-langchain-multiquery_3-2)</sup> LangChain Docs. *MultiQueryRetriever*. <a href="https://python.langchain.com/docs/how_to/MultiQueryRetriever/" class="external free" rel="nofollow">https://python.langchain.com/docs/how_to/MultiQueryRetriever/</a></span>
4.  <span id="cite_note-hyde-4">↑ <sup>[4.0](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-hyde_4-0)</sup> <sup>[4.1](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-hyde_4-1)</sup> Gao, L., Ma, X., Lin, J., Callan, J. (2023). *Precise Zero‑Shot Dense Retrieval without Relevance Labels*. ACL 2023. arXiv:2212.10496; ACL Anthology: 2023.acl‑long.99.</span>
5.  <span id="cite_note-weaviate-hybrid-5">↑ <sup>[5.0](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-weaviate-hybrid_5-0)</sup> <sup>[5.1](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-weaviate-hybrid_5-1)</sup> <sup>[5.2](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-weaviate-hybrid_5-2)</sup> <sup>[5.3](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-weaviate-hybrid_5-3)</sup> <sup>[5.4](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-weaviate-hybrid_5-4)</sup> Weaviate Docs. *Hybrid search (BM25+Vector)*. <a href="https://docs.weaviate.io/weaviate/concepts/search/hybrid-search" class="external free" rel="nofollow">https://docs.weaviate.io/weaviate/concepts/search/hybrid-search</a></span>
6.  <span id="cite_note-qdrant-hybrid-6">↑ <sup>[6.0](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-qdrant-hybrid_6-0)</sup> <sup>[6.1](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-qdrant-hybrid_6-1)</sup> <sup>[6.2](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-qdrant-hybrid_6-2)</sup> Qdrant Docs. *Hybrid Queries*. <a href="https://qdrant.tech/documentation/concepts/hybrid-queries/" class="external free" rel="nofollow">https://qdrant.tech/documentation/concepts/hybrid-queries/</a></span>
7.  <span id="cite_note-milvus-fulltext-7">↑ <sup>[7.0](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-milvus-fulltext_7-0)</sup> <sup>[7.1](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-milvus-fulltext_7-1)</sup> <sup>[7.2](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-milvus-fulltext_7-2)</sup> Milvus Docs. *Full‑Text Search* и *Hybrid Search*. <a href="https://milvus.io/docs/full-text-search.md" class="external free" rel="nofollow">https://milvus.io/docs/full-text-search.md</a>; <a href="https://milvus.io/docs/hybrid_search_with_milvus.md" class="external free" rel="nofollow">https://milvus.io/docs/hybrid_search_with_milvus.md</a></span>
8.  <span id="cite_note-nogueira2019-8">↑ <sup>[8.0](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-nogueira2019_8-0)</sup> <sup>[8.1](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-nogueira2019_8-1)</sup> <sup>[8.2](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-nogueira2019_8-2)</sup> <sup>[8.3](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-nogueira2019_8-3)</sup> <sup>[8.4](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-nogueira2019_8-4)</sup> Nogueira, R., Cho, K. (2019). *Passage Re‑ranking with BERT*. arXiv:1901.04085.</span>
9.  <span id="cite_note-cohere-rerank-9">↑ <sup>[9.0](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-cohere-rerank_9-0)</sup> <sup>[9.1](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-cohere-rerank_9-1)</sup> Cohere Docs. *Rerank — best practices*. <a href="https://docs.cohere.com/docs/reranking-best-practices" class="external free" rel="nofollow">https://docs.cohere.com/docs/reranking-best-practices</a></span>
10. <span id="cite_note-llama-router-10">↑ <sup>[10.0](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-llama-router_10-0)</sup> <sup>[10.1](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-llama-router_10-1)</sup> <sup>[10.2](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-llama-router_10-2)</sup> LlamaIndex Docs. *Routing (query routers/selectors)*. <a href="https://docs.llamaindex.ai/en/stable/module_guides/querying/router/" class="external free" rel="nofollow">https://docs.llamaindex.ai/en/stable/module_guides/querying/router/</a></span>
11. <span id="cite_note-react-11">↑ <sup>[11.0](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-react_11-0)</sup> <sup>[11.1](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-react_11-1)</sup> Yao, S., et al. (2023). *ReAct: Synergizing Reasoning and Acting in Language Models*. ICLR 2023. arXiv:2210.03629.</span>
12. <span id="cite_note-webgpt-12">↑ <sup>[12.0](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-webgpt_12-0)</sup> <sup>[12.1](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-webgpt_12-1)</sup> Nakano, R., et al. (2021). *WebGPT: Browser‑assisted question‑answering with human feedback*. arXiv:2112.09332.</span>
13. <span id="cite_note-graphrag-13">[↑](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-graphrag_13-0) Microsoft Research Blog. *GraphRAG: Unlocking LLM discovery on narrative private data*. 2024. <a href="https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/" class="external free" rel="nofollow">https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/</a></span>
14. <span id="cite_note-graphrag-project-14">[↑](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-graphrag-project_14-0) Microsoft Research. *Project GraphRAG*. <a href="https://www.microsoft.com/en-us/research/project/graphrag/" class="external free" rel="nofollow">https://www.microsoft.com/en-us/research/project/graphrag/</a></span>
15. <span id="cite_note-visrag-15">[↑](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-visrag_15-0) Yu, S., et al. (2024). *VisRAG: Vision‑based Retrieval‑augmented Generation on Multi‑modality Documents*. arXiv:2410.10594; OpenReview: zG459X3Xge.</span>
16. <span id="cite_note-raptor-16">↑ <sup>[16.0](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-raptor_16-0)</sup> <sup>[16.1](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-raptor_16-1)</sup> Sarthi, P., et al. (2024). *RAPTOR: Recursive Abstractive Processing for Tree‑Organized Retrieval*. arXiv:2401.18059.</span>
17. <span id="cite_note-rcsplit-17">↑ <sup>[17.0](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-rcsplit_17-0)</sup> <sup>[17.1](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-rcsplit_17-1)</sup> LangChain Docs. *RecursiveCharacterTextSplitter*. <a href="https://python.langchain.com/docs/how_to/recursive_text_splitter/" class="external free" rel="nofollow">https://python.langchain.com/docs/how_to/recursive_text_splitter/</a></span>
18. <span id="cite_note-llama-hier-18">↑ <sup>[18.0](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-llama-hier_18-0)</sup> <sup>[18.1](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-llama-hier_18-1)</sup> LlamaIndex Docs. *HierarchicalNodeParser* и *Tree Summarization*. <a href="https://docs.llamaindex.ai/en/stable/api/llama_index.core.node_parser.HierarchicalNodeParser.html" class="external free" rel="nofollow">https://docs.llamaindex.ai/en/stable/api/llama_index.core.node_parser.HierarchicalNodeParser.html</a>; <a href="https://docs.llamaindex.ai/en/stable/examples/low_level/response_synthesis/" class="external free" rel="nofollow">https://docs.llamaindex.ai/en/stable/examples/low_level/response_synthesis/</a></span>
19. <span id="cite_note-ragas-19">[↑](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-ragas_19-0) Es, S., et al. (2024). *RAGAs: Automated Evaluation of Retrieval Augmented Generation*. EACL (Demo). <a href="https://aclanthology.org/2024.eacl-demo.16/" class="external free" rel="nofollow">https://aclanthology.org/2024.eacl-demo.16/</a></span>
20. <span id="cite_note-trulens-20">[↑](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-trulens_20-0) TruLens Docs. *RAG Triad*. <a href="https://www.trulens.org/getting_started/core_concepts/rag_triad/" class="external free" rel="nofollow">https://www.trulens.org/getting_started/core_concepts/rag_triad/</a></span>
21. <span id="cite_note-deepeval-21">[↑](https://systems-analysis.info/int/RAG_patterns_(CS)#cite_ref-deepeval_21-0) DeepEval (GitHub). <a href="https://github.com/confident-ai/deepeval" class="external free" rel="nofollow">https://github.com/confident-ai/deepeval</a></span>
