---
title: "RAG patterns (TH)"
source: "https://systems-analysis.info/int/RAG_patterns_(TH)"
wiki: "systems-analysis.info/int"
article: "RAG_patterns_(TH)"
language: "th"
categories:
  - "Category:Large language models"
  - "Category:Prompt engineering"
  - "Category:Thai"
revision_id: 6113
wiki_created_at: 2026-09-06T23:58:31Z
wiki_modified_at: 2026-09-06T23:58:31Z
downloaded_at: 2026-09-07T23:12:06Z
---

# RAG patterns (TH)

**RAG-паттерны** (อังกฤษ: *RAG Patterns*) — คือชุดของแนวทางสถาปัตยกรรมและระเบียบวิธีสำหรับการสร้างระบบ **Retrieval-Augmented Generation** (RAG) รูปแบบเหล่านี้ได้รับการออกแบบมาเพื่อแก้ปัญหาพื้นฐานของโมเดลภาษาขนาดใหญ่ (LLM) เช่น การสร้างข้อมูลเท็จ (hallucination) ความล้าสมัยของความรู้ และการขาดความเฉพาะเจาะจงในโดเมน โดยบูรณาการ LLM เข้ากับแหล่งข้อมูลภายนอกที่เข้าถึงได้แบบไดนามิก<sup>[\[1\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-lewis2020-1)</sup> วิวัฒนาการของ RAG ได้ดำเนินมาจากไปป์ไลน์เชิงเส้นแบบง่ายไปสู่ระบบโมดูลาร์และระบบเอเจนต์ที่ซับซ้อน<sup>[\[2\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-survey2024-2)</sup>

## รูปแบบหลักของ RAG

ด้วยการพัฒนาของเทคโนโลยี จึงได้เกิด RAG-паттерны หลายรูปแบบ โดยแต่ละรูปแบบแก้ปัญหาเฉพาะเจาะจงและมีการแลกเปลี่ยนระหว่างคุณภาพ ความเร็ว และต้นทุนที่แตกต่างกัน

- **Classic RAG (RAG แบบคลาสสิก)** — แนวทางพื้นฐาน โดยคำค้นหาของผู้ใช้จะถูกแปลงเป็น vector เพื่อค้นหาส่วนข้อมูล (chunk) ที่เกี่ยวข้องในฐานข้อมูล vector; chunk ที่พบจะถูกส่งเข้า LLM พร้อมกับคำถามเพื่อสร้างคำตอบ<sup>[\[1\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-lewis2020-1)</sup>

<!-- -->

- **Multi‑Query RAG (การค้นหาหลายคำค้น)** — LLM สร้างตัวแปรคำค้นหาที่ถูกกำหนดใหม่หรือขยายความหลายรูปแบบจากคำค้นหาต้นฉบับ; การค้นหาจะดำเนินการตามตัวแปรทั้งหมดและรวมผลลัพธ์เข้าด้วยกัน ซึ่งช่วยเพิ่มความครอบคลุม (*recall*)<sup>[\[3\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-langchain-multiquery-3)</sup>

<!-- -->

- **HyDE (Hypothetical Document Expansion)** — สำหรับการเอาชนะ "ช่องว่างทางความหมาย" ระหว่างคำค้นหาสั้นและเอกสารยาว LLM จะสร้างเอกสาร "สมมุติ" เป็นคำตอบก่อน จากนั้น embedding ของเอกสารนั้นจะถูกใช้ในการค้นหา ซึ่งมักช่วยปรับปรุงคุณภาพการดึงข้อมูล<sup>[\[4\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-hyde-4)</sup>

<!-- -->

- **Hybrid Retrieval (การค้นหาแบบผสม)** — การรวมการค้นหาเชิงความหมาย (vector) และการค้นหาเชิงคำ (BM25) รูปแบบผสมได้กลายเป็นมาตรฐานสำหรับระบบในระดับ production: การค้นหา vector ครอบคลุมความสอดคล้องเชิงความหมาย ขณะที่ BM25 ค้นพบคำที่แม่นยำ/ID/ตัวย่อ; ผลลัพธ์จะถูกรวมด้วย fusion<sup>[\[5\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-weaviate-hybrid-5)[\[6\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-qdrant-hybrid-6)[\[7\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-milvus-fulltext-7)</sup>

<!-- -->

- **Re‑ranking (การจัดอันดับเพิ่มเติม)** — กระบวนการสองขั้นตอน: ตัวดึงข้อมูลที่รวดเร็วจะส่งชุดตัวเลือก (เช่น top-100) จากนั้น cross-encoder (หรือตัว rerank อื่น) จะคำนวณความเกี่ยวข้องใหม่และคัดเลือกตัวเลือกที่ดีที่สุด (เช่น top-5) สำหรับ LLM<sup>[\[8\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-nogueira2019-8)[\[9\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-cohere-rerank-9)</sup>

<!-- -->

- **Query Routing (การกำหนดเส้นทางคำค้นหา)** — ในระบบที่มีแหล่งข้อมูลหลายแหล่งที่แตกต่างกัน (index/ฐานข้อมูล/API ต่างๆ) คำค้นหาจะถูกส่งไปยังแหล่งข้อมูลที่ดีที่สุดโดยใช้ router (LLM-selector หรือ classifier); รวมถึง fallback strategy<sup>[\[10\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-llama-router-10)</sup>

<!-- -->

- **Agentic/Web RAG (RAG แบบเอเจนต์)** — LLM ทำหน้าที่เป็นเอเจนต์: แยกย่อยคำถามที่ซับซ้อน วางแผนการทำซ้ำ และใช้เครื่องมือ (การค้นหา vector, การค้นหาบนเว็บ) พร้อมการตอบรับ การนำไปใช้งานทั่วไปคือกระบวนทัศน์ ReAct<sup>[\[11\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-react-11)</sup>; สำหรับการรวบรวมข้อมูลบนเว็บและการอ้างอิงที่บังคับ โปรดดู WebGPT<sup>[\[12\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-webgpt-12)</sup>

### กระบวนทัศน์ที่เกี่ยวข้องและกำลังพัฒนา

- **GraphRAG (RAG แบบกราฟ)** — ใช้กราฟความรู้เป็นแหล่งข้อมูลและกลไกการเลือก context; การค้นหาดำเนินการตามโครงสร้างความสัมพันธ์ระหว่าง entity และข้อความ ซึ่งเพิ่มความสามารถในการตีความและคุณภาพสำหรับคำถาม multi-hop<sup>[\[13\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-graphrag-13)[\[14\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-graphrag-project-14)</sup>
- **MM‑RAG (RAG แบบหลายโมดัล)** — การทำงานกับแหล่งข้อมูลข้อความและภาพ (สแกน/ไดอะแกรม/ตาราง) ตัวอย่าง: VisRAG แสดงให้เห็นการดึงข้อมูลและการสร้างที่เน้น VLM บนเอกสารหลายโมดัล<sup>[\[15\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-visrag-15)</sup>
- **Packaging & Context Handling (การบรรจุ context)** — วิธีการบูรณาการ chunk ที่พบเข้าใน prompt: *Stuff*, *Map‑Reduce*, *Refine*, *Tree‑of‑Chunks (RAPTOR)*<sup>[\[16\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-raptor-16)</sup>

## ตารางเปรียบเทียบรูปแบบ

| รูปแบบ                | เมื่อใดควรนำไปใช้                                     | ผลกระทบต่อคุณภาพ                                                                                                                                                                                                                                                                                                   | ต้นทุน / ความหน่วง | ความเสี่ยงและข้อจำกัด                                        |
|----------------------|----------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|----------------------------------------------------------|
| **Classic RAG**      | PoC และ Q&A แบบง่ายบนฐานข้อมูลที่เป็นเนื้อเดียวกัน           | ระดับพื้นฐาน; ขึ้นอยู่กับ embedding อย่างมาก<sup>[\[1\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-lewis2020-1)</sup>                                                                                                                                                                                 | ต่ำ              | ความไวต่อการกำหนดคำ; ความเสี่ยงของ context ที่ไม่เกี่ยวข้อง       |
| **Hybrid Retrieval** | ส่วนใหญ่ในสถานการณ์ production; มีโค้ด/ตัวย่อ/ID จำนวนมาก | เพิ่มความครอบคลุม; ครอบคลุมคำที่แม่นยำ<sup>[\[5\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-weaviate-hybrid-5)[\[6\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-qdrant-hybrid-6)[\[7\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-milvus-fulltext-7)</sup> | ต่ำ/ปานกลาง      | การปรับน้ำหนัก fusion; สอง index                            |
| **Re‑ranking**       | สำคัญเมื่อต้องการความแม่นยำสูง                           | เพิ่ม precision บน top-k อย่างมีนัยสำคัญ<sup>[\[8\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-nogueira2019-8)[\[9\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-cohere-rerank-9)</sup>                                                                                         | ปานกลาง/สูง      | ความหน่วง/ต้นทุนเพิ่มเติม                                      |
| **Multi‑Query**      | คำค้นหาสั้น/หลายแง่มุม                                  | เพิ่ม recall<sup>[\[3\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-langchain-multiquery-3)</sup>                                                                                                                                                                                               | ปานกลาง         | การกำหนดใหม่ที่ซ้ำซ้อน/มีสัญญาณรบกวน                            |
| **HyDE**             | คำค้นหาสั้น/คลุมเครือที่มี "ช่องว่างทางความหมาย" ขนาดใหญ่     | ปรับปรุงคุณภาพการดึงข้อมูล *zero‑shot*<sup>[\[4\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-hyde-4)</sup>                                                                                                                                                                                         | ปานกลาง         | ขึ้นอยู่กับคุณภาพของข้อความ "สมมุติ"                              |
| **Query Routing**    | แหล่งข้อมูลหลายแหล่ง (ฐานเอกสาร, SQL, API, เว็บ)        | เพิ่มความเกี่ยวข้องด้วยการเลือกแหล่งข้อมูลที่ถูกต้อง<sup>[\[10\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-llama-router-10)</sup>                                                                                                                                                                         | ปานกลาง         | ข้อผิดพลาดในการกำหนดเส้นทาง = การค้นหาล้มเหลว                 |
| **Agentic/Web RAG**  | คำค้นหาที่ซับซ้อน เชิงสืบค้น หลายขั้นตอน                     | แก้ปัญหาที่อยู่นอกเหนือไปป์ไลน์เชิงเส้น<sup>[\[11\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-react-11)[\[12\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-webgpt-12)</sup>                                                                                                         | สูง              | ความซับซ้อน, ความเสี่ยงของการวนซ้ำไม่สิ้นสุด; จำเป็นต้องมี guardrail |

การเปรียบเทียบ RAG-паттернов หลัก

## การนำไปใช้งานจริงและสถาปัตยกรรม

### ขั้นตอนการนำไปใช้งาน

1.  **Proof of Concept (PoC):** เริ่มต้นด้วย **Classic RAG** บนชุดข้อมูลที่จำกัดแต่เป็นตัวแทน เพื่อตรวจสอบคุณภาพ embedding และการดึงข้อมูลพื้นฐาน<sup>[\[1\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-lewis2020-1)</sup>
2.  **Minimum Viable Product (MVP):** นำ **Hybrid Retrieval** และ **Re‑ranking** ไปใช้งานเป็นอัตราส่วน "ความพยายาม/ผลลัพธ์" ที่ดีที่สุด<sup>[\[5\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-weaviate-hybrid-5)[\[8\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-nogueira2019-8)</sup>
3.  **Production:** เพิ่มการแปลงคำค้นหา (**HyDE**, **Multi‑Query**) และ **Query Routing** หากจำเป็น; ตั้งค่า observability (การบันทึก log การดึงข้อมูล/rerank/คำตอบ) และการทดสอบ A/B<sup>[\[3\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-langchain-multiquery-3)[\[10\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-llama-router-10)</sup>

### องค์ประกอบหลัก

- **Chunking (การแบ่งส่วนข้อมูล):** หนึ่งในปัจจัยที่วิกฤตที่สุดสำหรับคุณภาพ การแบ่งขนาดคงที่แบบไร้เดียงสามักจะทำลายหน่วยความหมาย แนะนำให้ใช้ splitter ที่เน้นโครงสร้าง (ตาม markup) หรือแบบ recursive (ย่อหน้า → ประโยค → คำ)<sup>[\[17\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-rcsplit-17)[\[18\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-llama-hier-18)</sup>
- **Embedding และ metadata:** จัดเก็บ document_id, หน้า/ส่วน, หัวข้อ, วันที่ พร้อมกับแต่ละ chunk; สิ่งนี้จำเป็นสำหรับการกรองและการอ้างอิงแหล่งที่มาอย่างถูกต้อง
- **Hybrid retrieval และ rerank:** ใช้ BM25+vector พร้อม fusion (หรือ RRF) จากนั้น cross-encoder สำหรับการจัดอันดับใหม่บนกลุ่มตัวเลือกขนาดเล็ก<sup>[\[5\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-weaviate-hybrid-5)[\[6\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-qdrant-hybrid-6)[\[8\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-nogueira2019-8)</sup>
- **การบรรจุ context:** เลือก *Map‑Reduce*, *Refine* หรือ *Tree‑of‑Chunks* สำหรับคลังข้อมูลขนาดใหญ่<sup>[\[16\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-raptor-16)[\[18\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-llama-hier-18)</sup>

### ข้อผิดพลาดทั่วไป (anti-pattern)

- **เฉพาะการค้นหา vector** โดยไม่มี BM25 → ล้มเหลวกับโค้ด/ID/ตัวย่อ<sup>[\[5\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-weaviate-hybrid-5)[\[7\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-milvus-fulltext-7)</sup>
- **Chunk ที่ใหญ่/เล็กเกินไป** → สูญเสีย context หรือ embedding "เจือจาง"<sup>[\[17\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-rcsplit-17)</sup>
- **ไม่มี rerank ใน production** → LLM ได้รับ context ที่มีสัญญาณรบกวน<sup>[\[8\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-nogueira2019-8)</sup>
- **ไม่มี observability** และการติดตามแหล่งที่มา → ไม่สามารถวิเคราะห์สาเหตุของข้อผิดพลาด (ดูการประเมิน RAG)

## การประเมินคุณภาพและ metric

การประเมินดำเนินการในระดับ retrieval (offline) และ end‑to‑end (การสร้าง)

### Metric ของ retriever

- **Hit Rate, Recall@k, MRR** — ความครอบคลุมและตำแหน่งของเอกสารที่เกี่ยวข้อง
- **Context Precision & Recall** — ความสะอาดของ context ที่ดึงออกมาจาก "สัญญาณรบกวน" และความครอบคลุมทุกสิ่งที่จำเป็น (นำไปใช้งานใน RAGAS)<sup>[\[19\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-ragas-19)</sup>

### Metric ของ generator (end‑to‑end)

- **Faithfulness / Groundedness** — ความสอดคล้องของคำตอบกับ context ที่ให้ไว้
- **Answer Relevancy (ความเกี่ยวข้องของคำตอบ)** — ความสอดคล้องกับคำถามต้นฉบับ

สำหรับการทำ metric อัตโนมัติ จะใช้ open-source framework ได้แก่: **RAGAS**, **TruLens** (*RAG triad*: context relevance, groundedness, answer relevance), **DeepEval**<sup>[\[20\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-trulens-20)[\[21\]](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_note-deepeval-21)</sup>

## ดูเพิ่มเติม

- Retrieval-Augmented Generation (RAG)
- ฐานข้อมูล vector
- Embedding
- AI-agent
- 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_(TH)#cite_ref-lewis2020_1-0)</sup> <sup>[1.1](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_ref-lewis2020_1-1)</sup> <sup>[1.2](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_ref-lewis2020_1-2)</sup> <sup>[1.3](https://systems-analysis.info/int/RAG_patterns_(TH)#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_(TH)#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_(TH)#cite_ref-langchain-multiquery_3-0)</sup> <sup>[3.1](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_ref-langchain-multiquery_3-1)</sup> <sup>[3.2](https://systems-analysis.info/int/RAG_patterns_(TH)#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_(TH)#cite_ref-hyde_4-0)</sup> <sup>[4.1](https://systems-analysis.info/int/RAG_patterns_(TH)#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_(TH)#cite_ref-weaviate-hybrid_5-0)</sup> <sup>[5.1](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_ref-weaviate-hybrid_5-1)</sup> <sup>[5.2](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_ref-weaviate-hybrid_5-2)</sup> <sup>[5.3](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_ref-weaviate-hybrid_5-3)</sup> <sup>[5.4](https://systems-analysis.info/int/RAG_patterns_(TH)#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_(TH)#cite_ref-qdrant-hybrid_6-0)</sup> <sup>[6.1](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_ref-qdrant-hybrid_6-1)</sup> <sup>[6.2](https://systems-analysis.info/int/RAG_patterns_(TH)#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_(TH)#cite_ref-milvus-fulltext_7-0)</sup> <sup>[7.1](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_ref-milvus-fulltext_7-1)</sup> <sup>[7.2](https://systems-analysis.info/int/RAG_patterns_(TH)#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_(TH)#cite_ref-nogueira2019_8-0)</sup> <sup>[8.1](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_ref-nogueira2019_8-1)</sup> <sup>[8.2](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_ref-nogueira2019_8-2)</sup> <sup>[8.3](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_ref-nogueira2019_8-3)</sup> <sup>[8.4](https://systems-analysis.info/int/RAG_patterns_(TH)#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_(TH)#cite_ref-cohere-rerank_9-0)</sup> <sup>[9.1](https://systems-analysis.info/int/RAG_patterns_(TH)#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_(TH)#cite_ref-llama-router_10-0)</sup> <sup>[10.1](https://systems-analysis.info/int/RAG_patterns_(TH)#cite_ref-llama-router_10-1)</sup> <sup>[10.2](https://systems-analysis.info/int/RAG_patterns_(TH)#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_(TH)#cite_ref-react_11-0)</sup> <sup>[11.1](https://systems-analysis.info/int/RAG_patterns_(TH)#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_(TH)#cite_ref-webgpt_12-0)</sup> <sup>[12.1](https://systems-analysis.info/int/RAG_patterns_(TH)#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_(TH)#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_(TH)#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_(TH)#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_(TH)#cite_ref-raptor_16-0)</sup> <sup>[16.1](https://systems-analysis.info/int/RAG_patterns_(TH)#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_(TH)#cite_ref-rcsplit_17-0)</sup> <sup>[17.1](https://systems-analysis.info/int/RAG_patterns_(TH)#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_(TH)#cite_ref-llama-hier_18-0)</sup> <sup>[18.1](https://systems-analysis.info/int/RAG_patterns_(TH)#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_(TH)#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_(TH)#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_(TH)#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>
