---
title: "RAG patterns (BG)"
source: "https://systems-analysis.info/int/RAG_patterns_(BG)"
wiki: "systems-analysis.info/int"
article: "RAG_patterns_(BG)"
language: "bg"
categories:
  - "Category:Bulgarian"
  - "Category:Large language models"
  - "Category:Prompt engineering"
revision_id: 6106
wiki_created_at: 2026-09-06T23:58:25Z
wiki_modified_at: 2026-09-06T23:58:25Z
downloaded_at: 2026-09-07T23:12:03Z
---

# RAG patterns (BG)

**RAG-паттерни** (англ. *RAG Patterns*) — това е набор от архитектурни и методологични подходи за изграждане на системи **Retrieval-Augmented Generation** (RAG). Тези паттерни са предназначени за решаване на фундаментални проблеми на големите езикови модели (LLM), като халюцинации, остаряване на знанията и липса на домейн-специфика, чрез интегриране на LLM с външни, динамично достъпни източници на данни<sup>[\[1\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-lewis2020-1)</sup>. Еволюцията на RAG е извървяла пътя от прости линейни конвейери до сложни модулни и агентни системи<sup>[\[2\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-survey2024-2)</sup>.

## Основни паттерни на RAG

С развитието на технологията се появиха множество RAG‑паттерни, всеки от които решава определени задачи и има свои компромиси между качество, скорост и цена.

- **Classic RAG (Класически RAG)** — базов подход, при който заявката на потребителя се векторизира за търсене на релевантни фрагменти (чанкове) във векторна БД; намерените чанкове се подават на LLM заедно с въпроса за генериране на отговор<sup>[\[1\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-lewis2020-1)</sup>.

<!-- -->

- **Multi‑Query RAG (Множествени заявки)** — LLM генерира няколко перефразирани/уточнени варианта на изходната заявка; търсенето се извършва по всички варианти, резултатите се обединяват, което повишава пълнотата (*recall*)<sup>[\[3\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-langchain-multiquery-3)</sup>.

<!-- -->

- **HyDE (Hypothetical Document Expansion)** — за преодоляване на „семантичната пропаст" между кратка заявка и дълги документи. LLM първо генерира „хипотетичен" документ-отговор, след което неговият embedding се използва за търсене, което често подобрява качеството на извличане<sup>[\[4\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-hyde-4)</sup>.

<!-- -->

- **Hybrid Retrieval (Хибридно търсене)** — комбинация от семантично (векторно) и лексикално (BM25) търсене. Хибридните схеми са се превърнали в стандарт за продакшън‑системи: векторното търсене покрива смислови съответствия, а BM25 открива точни термини/ID/акроними; резултатите се обединяват чрез fusion<sup>[\[5\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-weaviate-hybrid-5)[\[6\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-qdrant-hybrid-6)[\[7\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-milvus-fulltext-7)</sup>.

<!-- -->

- **Re‑ranking (Допълнително класиране)** — двуетапен процес: бърз ретривер връща набор от кандидати (например топ‑100), след което кросс‑енкодер (или друг реранкер) преизчислява релевантността и отбира най-добрите (например топ‑5) за LLM<sup>[\[8\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-nogueira2019-8)[\[9\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-cohere-rerank-9)</sup>.

<!-- -->

- **Query Routing (Маршрутизиране на заявки)** — в системи с няколко разнородни източници на данни (различни индекси/БД/API) заявката се насочва към най-подходящия източник с помощта на router (LLM‑селектор или класификатор); включва fallback‑стратегии<sup>[\[10\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-llama-router-10)</sup>.

<!-- -->

- **Agentic/Web RAG (Агентен RAG)** — LLM действа като агент: декомпозира сложни въпроси, планира итерации и използва инструменти (векторно търсене, уеб‑търсене) с обратна връзка. Типична реализация — парадигмата ReAct<sup>[\[11\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-react-11)</sup>; за уеб‑ориентирано събиране и задължително цитиране вж. WebGPT<sup>[\[12\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-webgpt-12)</sup>.

### Свързани и развиващи се парадигми

- **GraphRAG (Графов RAG)** — използва граф на знанията като източник и механизъм за избор на контекст; търсенето се извършва по структурата на връзките между същностите и по текст, повишавайки интерпретируемостта и качеството при multi‑hop въпроси<sup>[\[13\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-graphrag-13)[\[14\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-graphrag-project-14)</sup>.
- **MM‑RAG (Мултимодален RAG)** — работа с текстови и визуални източници (сканове/схеми/таблици). Пример: VisRAG демонстрира VLM‑ориентиран ретрив и генерация върху мултимодални документи<sup>[\[15\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-visrag-15)</sup>.
- **Packaging & Context Handling (Опаковане на контекста)** — начини за интегриране на намерените чанкове в prompt: *Stuff*, *Map‑Reduce*, *Refine*, *Tree‑of‑Chunks (RAPTOR)*<sup>[\[16\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-raptor-16)</sup>.

## Сравнителна таблица на паттерните

| Паттерн              | Кога да се прилага                                      | Влияние върху качеството                                                                                                                                                                                                                                                                                                   | Цена / Латентност | Рискове и ограничения                                          |
|----------------------|---------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|----------------------------------------------------------------|
| **Classic RAG**      | PoC и прости Q&A върху хомогенна база                   | Базово ниво; силно зависи от embeddings<sup>[\[1\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-lewis2020-1)</sup>                                                                                                                                                                                       | Ниска             | Чувствителност към формулировки; риск от нерелевантен контекст |
| **Hybrid Retrieval** | В повечето продакшън‑сценарии; много кодове/акроними/ID | Повишава пълнотата; покрива точни термини<sup>[\[5\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-weaviate-hybrid-5)[\[6\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-qdrant-hybrid-6)[\[7\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-milvus-fulltext-7)</sup> | Ниска/Средна      | Настройка на теглата при fusion; два индекса                   |
| **Re‑ranking**       | Критично, когато е важна висока точност                 | Съществен ръст на precision при топ‑k<sup>[\[8\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-nogueira2019-8)[\[9\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-cohere-rerank-9)</sup>                                                                                                | Средна/Висока     | Допълнителна латентност/цена                                   |
| **Multi‑Query**      | Кратки/многоаспектни заявки                             | Повишава recall<sup>[\[3\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-langchain-multiquery-3)</sup>                                                                                                                                                                                                    | Средна            | Излишни/шумни перефрази                                        |
| **HyDE**             | Кратки/неясни заявки с голяма „семантична пропаст"      | Подобрява качеството на ретрива *zero‑shot*<sup>[\[4\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-hyde-4)</sup>                                                                                                                                                                                        | Средна            | Зависи от качеството на „хипотетичния" текст                   |
| **Query Routing**    | Няколко източника (документна база, SQL, API, уеб)      | Повишава релевантността чрез правилния източник<sup>[\[10\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-llama-router-10)</sup>                                                                                                                                                                          | Средна            | Грешен маршрут = неуспешно търсене                             |
| **Agentic/Web RAG**  | Сложни, изследователски, многоетапни заявки             | Решава задачи извън линейния конвейер<sup>[\[11\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-react-11)[\[12\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-webgpt-12)</sup>                                                                                                          | Висока            | Сложност, риск от зацикляне; необходими са guardrails          |

Сравнение на ключовите RAG-паттерни

## Практическа реализация и архитектура

### Етапи на внедряване

1.  **Proof of Concept (PoC):** Започнете с **Classic RAG** върху ограничен, но представителен набор от данни, за да проверите качеството на embeddings и базовия ретрив<sup>[\[1\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-lewis2020-1)</sup>.
2.  **Minimum Viable Product (MVP):** Внедрете **Hybrid Retrieval** и **Re‑ranking** като най-добро съотношение „усилие/ефект"<sup>[\[5\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-weaviate-hybrid-5)[\[8\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-nogueira2019-8)</sup>.
3.  **Продакшън:** Добавете трансформации на заявките (**HyDE**, **Multi‑Query**) и при необходимост **Query Routing**; настройте observability (логване на ретрива/реранка/отговорите) и A/B‑тестване<sup>[\[3\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-langchain-multiquery-3)[\[10\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-llama-router-10)</sup>.

### Ключови компоненти

- **Чанкинг (Chunking):** Един от най-критичните фактори за качество. Наивният фиксиран размер често разкъсва смислови единици. Препоръчват се структурно‑ориентирани (по маркиране) или рекурсивни сплитери (параграф → изречение → дума)<sup>[\[17\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-rcsplit-17)[\[18\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-llama-hier-18)</sup>.
- **Embeddings и метаданни:** Съхранявайте с всеки чанк document_id, страница/секция, заглавие, дати; това е необходимо за филтриране и коректно цитиране на източници.
- **Хибриден ретрив и реранк:** Използвайте BM25+вектор с fusion (или RRF), след това кросс‑енкодер за преранжиране върху малък пул от кандидати<sup>[\[5\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-weaviate-hybrid-5)[\[6\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-qdrant-hybrid-6)[\[8\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-nogueira2019-8)</sup>.
- **Опаковане на контекста:** Избирайте *Map‑Reduce*, *Refine* или *Tree‑of‑Chunks* за дълги корпуси<sup>[\[16\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-raptor-16)[\[18\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-llama-hier-18)</sup>.

### Чести грешки (антипаттерни)

- **Само векторно търсене** без BM25 → провали при кодове/ID/акроними<sup>[\[5\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-weaviate-hybrid-5)[\[7\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-milvus-fulltext-7)</sup>.
- **Прекалено голям/малък чанк** → загуба на контекст или „размиване" на embedding<sup>[\[17\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-rcsplit-17)</sup>.
- **Липса на реранк в продакшъна** → LLM получава шумен контекст<sup>[\[8\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-nogueira2019-8)</sup>.
- **Няма observability** и трейсване на източници → невъзможно е да се анализират причините за грешки (вж. оценка на RAG).

## Оценка на качеството и метрики

Оценката се провежда на ниво ретривер (офлайн) и end‑to‑end (генерация).

### Метрики на ретривера

- **Hit Rate, Recall@k, MRR** — покритие и позиция на релевантните документи.
- **Context Precision & Recall** — доколко извлеченият контекст е без „шум" и покрива всичко необходимо (реализирано в RAGAS)<sup>[\[19\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-ragas-19)</sup>.

### Метрики на генератора (end‑to‑end)

- **Faithfulness / Groundedness** — съответствие на отговора с предоставения контекст.
- **Answer Relevancy (Релевантност на отговора)** — съответствие с изходния въпрос.

За автоматизиране на метриките се използват open‑source фреймворки: **RAGAS**, **TruLens** (*RAG triad*: context relevance, groundedness, answer relevance), **DeepEval**<sup>[\[20\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-trulens-20)[\[21\]](https://systems-analysis.info/int/RAG_patterns_(BG)#cite_note-deepeval-21)</sup>.

## Вижте също

- Retrieval-Augmented Generation (RAG)
- Векторни бази данни
- Embedding
- AI-агент
- GraphRAG
- MM-RAG
- Оценка и benchmark-ове на LLM

## Литература

- 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>.

## Бележки

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