---
title: "RAG-wzorce"
source: "https://systems-analysis.info/int/RAG-wzorce"
wiki: "systems-analysis.info/int"
article: "RAG-wzorce"
language: "pl"
categories:
  - "Category:Large language models"
  - "Category:Polish"
  - "Category:Prompt engineering"
revision_id: 6105
wiki_created_at: 2026-09-06T23:58:24Z
wiki_modified_at: 2026-09-06T23:58:24Z
downloaded_at: 2026-09-07T23:12:03Z
---

# RAG-wzorce

**RAG-wzorce** (ang. *RAG Patterns*) — to zestaw architektonicznych i metodologicznych podejść do budowania systemów **Retrieval-Augmented Generation** (RAG). Wzorce te służą rozwiązaniu fundamentalnych problemów dużych modeli językowych (LLM), takich jak halucynacje, dezaktualizacja wiedzy i brak specyfiki domenowej, poprzez integrację LLM z zewnętrznymi, dynamicznie dostępnymi źródłami danych<sup>[\[1\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-lewis2020-1)</sup>. Ewolucja RAG przebiegła od prostych liniowych potoków do złożonych systemów modularnych i agentowych<sup>[\[2\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-survey2024-2)</sup>.

## Podstawowe wzorce RAG

W miarę rozwoju technologii pojawiło się wiele wzorców RAG, z których każdy rozwiązuje określone zadania i ma własne kompromisy między jakością, szybkością a kosztem.

- **Classic RAG (Klasyczny RAG)** — podstawowe podejście, w którym zapytanie użytkownika jest wektoryzowane w celu wyszukania odpowiednich fragmentów (chunków) w wektorowej bazie danych; znalezione chunki są przekazywane do LLM wraz z pytaniem w celu wygenerowania odpowiedzi<sup>[\[1\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-lewis2020-1)</sup>.

<!-- -->

- **Multi‑Query RAG (Wielokrotne zapytania)** — LLM generuje kilka przeformułowanych/doprecyzowanych wariantów oryginalnego zapytania; wyszukiwanie odbywa się dla wszystkich wariantów, a wyniki są łączone, co zwiększa pełność (*recall*)<sup>[\[3\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-langchain-multiquery-3)</sup>.

<!-- -->

- **HyDE (Hypothetical Document Expansion)** — służy przezwyciężeniu „luki semantycznej" między krótkim zapytaniem a długimi dokumentami. LLM najpierw generuje „hipotetyczny" dokument-odpowiedź, a następnie jego embedding jest używany do wyszukiwania, co często poprawia jakość ekstrakcji<sup>[\[4\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-hyde-4)</sup>.

<!-- -->

- **Hybrid Retrieval (Wyszukiwanie hybrydowe)** — połączenie wyszukiwania semantycznego (wektorowego) i leksykalnego (BM25). Schematy hybrydowe stały się standardem dla systemów produkcyjnych: wyszukiwanie wektorowe pokrywa dopasowania znaczeniowe, a BM25 znajduje dokładne terminy/ID/akronimy; wyniki są łączone przez fuzję<sup>[\[5\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-weaviate-hybrid-5)[\[6\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-qdrant-hybrid-6)[\[7\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-milvus-fulltext-7)</sup>.

<!-- -->

- **Re‑ranking (Dodatkowe rankingowanie)** — dwuetapowy proces: szybki retriever zwraca zestaw kandydatów (np. top‑100), następnie cross-encoder (lub inny reranker) przelicza trafność i wybiera najlepsze (np. top‑5) dla LLM<sup>[\[8\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-nogueira2019-8)[\[9\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-cohere-rerank-9)</sup>.

<!-- -->

- **Query Routing (Routing zapytań)** — w systemach z wieloma heterogenicznymi źródłami danych (różne indeksy/bazy danych/API) zapytanie jest kierowane do najlepszego źródła za pomocą routera (selektor LLM lub klasyfikator); obejmuje strategie fallback<sup>[\[10\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-llama-router-10)</sup>.

<!-- -->

- **Agentic/Web RAG (Agentowy RAG)** — LLM pełni rolę agenta: dekompozuje złożone pytania, planuje iteracje i korzysta z narzędzi (wyszukiwanie wektorowe, wyszukiwanie w sieci) ze sprzężeniem zwrotnym. Typową implementacją jest paradygmat ReAct<sup>[\[11\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-react-11)</sup>; w przypadku zorientowanego na sieć zbierania informacji i obowiązkowego cytowania zob. WebGPT<sup>[\[12\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-webgpt-12)</sup>.

### Powiązane i rozwijające się paradygmaty

- **GraphRAG (Grafowy RAG)** — wykorzystuje graf wiedzy jako źródło i mechanizm wyboru kontekstu; wyszukiwanie odbywa się po strukturze powiązań między encjami oraz po tekście, zwiększając interpretowalność i jakość na pytaniach wieloetapowych (multi‑hop)<sup>[\[13\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-graphrag-13)[\[14\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-graphrag-project-14)</sup>.
- **MM‑RAG (Multimodalny RAG)** — praca z tekstem i źródłami wizualnymi (skany/schematy/tabele). Przykład: VisRAG demonstruje retrieval i generację zorientowane na VLM na dokumentach multimodalnych<sup>[\[15\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-visrag-15)</sup>.
- **Packaging & Context Handling (Pakowanie kontekstu)** — sposoby integracji znalezionych chunków w prompt: *Stuff*, *Map‑Reduce*, *Refine*, *Tree‑of‑Chunks (RAPTOR)*<sup>[\[16\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-raptor-16)</sup>.

## Tabela porównawcza wzorców

| Wzorzec              | Kiedy stosować                                                  | Wpływ na jakość                                                                                                                                                                                                                                                                                        | Koszt / Opóźnienie | Ryzyka i ograniczenia                                                    |
|----------------------|-----------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------|--------------------------------------------------------------------------|
| **Classic RAG**      | PoC i proste Q&A nad jednorodną bazą                            | Poziom bazowy; silnie zależy od embeddingów<sup>[\[1\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-lewis2020-1)</sup>                                                                                                                                                                      | Niski              | Wrażliwość na sformułowania; ryzyko nieistotnego kontekstu               |
| **Hybrid Retrieval** | W większości scenariuszy produkcyjnych; dużo kodów/akronimów/ID | Zwiększa pełność; pokrywa dokładne terminy<sup>[\[5\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-weaviate-hybrid-5)[\[6\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-qdrant-hybrid-6)[\[7\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-milvus-fulltext-7)</sup> | Niski/Średni       | Kalibracja wag fuzji; dwa indeksy                                        |
| **Re‑ranking**       | Kluczowy, gdy wymagana jest wysoka precyzja                     | Istotny wzrost precision dla top‑k<sup>[\[8\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-nogueira2019-8)[\[9\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-cohere-rerank-9)</sup>                                                                                             | Średni/Wysoki      | Dodatkowe opóźnienie/koszt                                               |
| **Multi‑Query**      | Krótkie/wieloaspektowe zapytania                                | Zwiększa recall<sup>[\[3\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-langchain-multiquery-3)</sup>                                                                                                                                                                                       | Średni             | Nadmiarowe/zaszumione przeformułowania                                   |
| **HyDE**             | Krótkie/niejednoznaczne zapytania z dużą „luką semantyczną"     | Poprawia jakość retrievalu *zero‑shot*<sup>[\[4\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-hyde-4)</sup>                                                                                                                                                                                | Średni             | Zależy od jakości tekstu „hipotetycznego"                                |
| **Query Routing**    | Wiele źródeł (baza dokumentów, SQL, API, sieć)                  | Zwiększa trafność dzięki właściwemu źródłu<sup>[\[10\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-llama-router-10)</sup>                                                                                                                                                                  | Średni             | Błąd routingu = niepowodzenie wyszukiwania                               |
| **Agentic/Web RAG**  | Złożone, badawcze, wieloetapowe zapytania                       | Rozwiązuje zadania poza liniowym potokiem<sup>[\[11\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-react-11)[\[12\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-webgpt-12)</sup>                                                                                                | Wysoki             | Złożoność, ryzyko zapętlenia; potrzebne mechanizmy ochronne (guardrails) |

Porównanie kluczowych wzorców RAG

## Praktyczna implementacja i architektura

### Etapy wdrożenia

1.  **Proof of Concept (PoC):** Rozpocznij od **Classic RAG** na ograniczonym, lecz reprezentatywnym zbiorze danych, aby sprawdzić jakość embeddingów i podstawowy retrieval<sup>[\[1\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-lewis2020-1)</sup>.
2.  **Minimum Viable Product (MVP):** Wdróż **Hybrid Retrieval** i **Re‑ranking** jako najlepszy stosunek nakładu do efektu<sup>[\[5\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-weaviate-hybrid-5)[\[8\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-nogueira2019-8)</sup>.
3.  **Produkcja:** Dodaj transformacje zapytań (**HyDE**, **Multi‑Query**) oraz w razie potrzeby **Query Routing**; skonfiguruj observability (logowanie retrievalu/rerankingu/odpowiedzi) i testy A/B<sup>[\[3\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-langchain-multiquery-3)[\[10\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-llama-router-10)</sup>.

### Kluczowe komponenty

- **Chunking (Podziału na fragmenty):** Jeden z najbardziej krytycznych czynników jakości. Naiwny stały rozmiar często przerywa jednostki znaczeniowe. Zalecane są splittery zorientowane strukturalnie (według znaczników) lub rekurencyjne (akapit → zdanie → słowo)<sup>[\[17\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-rcsplit-17)[\[18\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-llama-hier-18)</sup>.
- **Embeddingi i metadane:** Przechowuj przy każdym chunku document_id, stronę/sekcję, tytuł, daty; jest to niezbędne do filtrowania i prawidłowego cytowania źródeł.
- **Hybrydowy retrieval i reranking:** Używaj BM25+wektor z fuzją (lub RRF), a następnie cross-encoder do rerankingu na małej puli kandydatów<sup>[\[5\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-weaviate-hybrid-5)[\[6\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-qdrant-hybrid-6)[\[8\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-nogueira2019-8)</sup>.
- **Pakowanie kontekstu:** Wybieraj *Map‑Reduce*, *Refine* lub *Tree‑of‑Chunks* dla długich korpusów<sup>[\[16\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-raptor-16)[\[18\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-llama-hier-18)</sup>.

### Typowe błędy (antywzorce)

- **Tylko wyszukiwanie wektorowe** bez BM25 → niepowodzenia na kodach/ID/akronimach<sup>[\[5\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-weaviate-hybrid-5)[\[7\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-milvus-fulltext-7)</sup>.
- **Zbyt duży/mały chunk** → utrata kontekstu lub „rozmycie" embeddingu<sup>[\[17\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-rcsplit-17)</sup>.
- **Brak rerankingu w produkcji** → LLM otrzymuje zaszumiony kontekst<sup>[\[8\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-nogueira2019-8)</sup>.
- **Brak observability** i śledzenia źródeł → niemożność analizy przyczyn błędów (zob. ocena RAG).

## Ocena jakości i metryki

Ocena jest przeprowadzana na poziomie retrievalu (offline) i end‑to‑end (generacja).

### Metryki retrievera

- **Hit Rate, Recall@k, MRR** — pokrycie i pozycja trafnych dokumentów.
- **Context Precision & Recall** — na ile wyekstrahowany kontekst jest wolny od „szumów" i pokrywa wszystko, co potrzebne (zaimplementowane w RAGAS)<sup>[\[19\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-ragas-19)</sup>.

### Metryki generatora (end‑to‑end)

- **Faithfulness / Groundedness** — zgodność odpowiedzi z dostarczonym kontekstem.
- **Answer Relevancy (Trafność odpowiedzi)** — zgodność z oryginalnym pytaniem.

Do automatyzacji metryk używane są frameworki open‑source: **RAGAS**, **TruLens** (*RAG triad*: context relevance, groundedness, answer relevance), **DeepEval**<sup>[\[20\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-trulens-20)[\[21\]](https://systems-analysis.info/int/RAG-wzorce#cite_note-deepeval-21)</sup>.

## Zobacz też

- Retrieval-Augmented Generation (RAG)
- Wektorowe bazy danych
- Embedding
- Agent AI
- GraphRAG
- MM-RAG
- Ocena i benchmarki 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>.

## Przypisy

1.  <span id="cite_note-lewis2020-1">↑ <sup>[1.0](https://systems-analysis.info/int/RAG-wzorce#cite_ref-lewis2020_1-0)</sup> <sup>[1.1](https://systems-analysis.info/int/RAG-wzorce#cite_ref-lewis2020_1-1)</sup> <sup>[1.2](https://systems-analysis.info/int/RAG-wzorce#cite_ref-lewis2020_1-2)</sup> <sup>[1.3](https://systems-analysis.info/int/RAG-wzorce#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-wzorce#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-wzorce#cite_ref-langchain-multiquery_3-0)</sup> <sup>[3.1](https://systems-analysis.info/int/RAG-wzorce#cite_ref-langchain-multiquery_3-1)</sup> <sup>[3.2](https://systems-analysis.info/int/RAG-wzorce#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-wzorce#cite_ref-hyde_4-0)</sup> <sup>[4.1](https://systems-analysis.info/int/RAG-wzorce#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-wzorce#cite_ref-weaviate-hybrid_5-0)</sup> <sup>[5.1](https://systems-analysis.info/int/RAG-wzorce#cite_ref-weaviate-hybrid_5-1)</sup> <sup>[5.2](https://systems-analysis.info/int/RAG-wzorce#cite_ref-weaviate-hybrid_5-2)</sup> <sup>[5.3](https://systems-analysis.info/int/RAG-wzorce#cite_ref-weaviate-hybrid_5-3)</sup> <sup>[5.4](https://systems-analysis.info/int/RAG-wzorce#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-wzorce#cite_ref-qdrant-hybrid_6-0)</sup> <sup>[6.1](https://systems-analysis.info/int/RAG-wzorce#cite_ref-qdrant-hybrid_6-1)</sup> <sup>[6.2](https://systems-analysis.info/int/RAG-wzorce#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-wzorce#cite_ref-milvus-fulltext_7-0)</sup> <sup>[7.1](https://systems-analysis.info/int/RAG-wzorce#cite_ref-milvus-fulltext_7-1)</sup> <sup>[7.2](https://systems-analysis.info/int/RAG-wzorce#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-wzorce#cite_ref-nogueira2019_8-0)</sup> <sup>[8.1](https://systems-analysis.info/int/RAG-wzorce#cite_ref-nogueira2019_8-1)</sup> <sup>[8.2](https://systems-analysis.info/int/RAG-wzorce#cite_ref-nogueira2019_8-2)</sup> <sup>[8.3](https://systems-analysis.info/int/RAG-wzorce#cite_ref-nogueira2019_8-3)</sup> <sup>[8.4](https://systems-analysis.info/int/RAG-wzorce#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-wzorce#cite_ref-cohere-rerank_9-0)</sup> <sup>[9.1](https://systems-analysis.info/int/RAG-wzorce#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-wzorce#cite_ref-llama-router_10-0)</sup> <sup>[10.1](https://systems-analysis.info/int/RAG-wzorce#cite_ref-llama-router_10-1)</sup> <sup>[10.2](https://systems-analysis.info/int/RAG-wzorce#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-wzorce#cite_ref-react_11-0)</sup> <sup>[11.1](https://systems-analysis.info/int/RAG-wzorce#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-wzorce#cite_ref-webgpt_12-0)</sup> <sup>[12.1](https://systems-analysis.info/int/RAG-wzorce#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-wzorce#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-wzorce#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-wzorce#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-wzorce#cite_ref-raptor_16-0)</sup> <sup>[16.1](https://systems-analysis.info/int/RAG-wzorce#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-wzorce#cite_ref-rcsplit_17-0)</sup> <sup>[17.1](https://systems-analysis.info/int/RAG-wzorce#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-wzorce#cite_ref-llama-hier_18-0)</sup> <sup>[18.1](https://systems-analysis.info/int/RAG-wzorce#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-wzorce#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-wzorce#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-wzorce#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>
