ai21.net
語言

Retrieval-Augmented Generation pipeline

Retrieval-Augmented Generation pipeline — 1

提示詞

Landscape 16:9 academic systems diagram of a RAG pipeline, 6-stage left-to-right flow.

(1) "User query" box with placeholder text "What are the side effects of drug X?" and a small user silhouette.
(2) Hexagonal "Embedding encoder (BERT-style)", caption "dense vector d=768".
(3) Stylised database cylinder "Vector store" with "Index: 1.2M chunks"; arrow from (2) labeled "kNN, k=5".
(4) "Retrieved passages" — stack of 5 doc thumbnails; caption "top-k chunks + metadata".
(5) Hexagonal hub "Frozen LLM"; long curved arrow from (1) labeled "original query" also lands here; arrow from (4) labeled "retrieved context".
(6) "Grounded answer" with inline marker "[cite: doc#47]"; caption "with source citations".

Dashed outline around (2)-(3) labeled "OFFLINE — built once". Dashed outline around (4)-(5) labeled "ONLINE — per query".

Title: "Retrieval-Augmented Generation pipeline". Subtitle: "Lewis et al., 2020".

中文翻譯

橫版 16:9 學術風格系統圖,展示一條 RAG 流水線,6 個階段從左到右流動。

(1) "用戶查詢" 方框,內含佔位文本 "藥物 X 有哪些副作用?",並配有一個小型用戶剪影。
(2) 六邊形 "嵌入編碼器(BERT 風格)",說明文字 "稠密向量 d=768"。
(3) 風格化數據庫圓柱體 "向量庫",標註 "索引:120 萬條切片";從 (2) 指向它的箭頭標註 "kNN, k=5"。
(4) "檢索到的段落" —— 5 個文檔縮略圖堆疊;說明文字 "top-k 切片 + 元數據"。
(5) 六邊形中樞 "凍結的 LLM";一條從 (1) 出發的長弧線箭頭同樣指向此處,標註 "原始查詢";從 (4) 出發的箭頭標註 "檢索到的上下文"。
(6) "有依據的回答",行內標記 "[cite: doc#47]";說明文字 "附帶來源引用"。

圍繞 (2)-(3) 的虛線框標註 "離線 — 僅構建一次"。圍繞 (4)-(5) 的虛線框標註 "在線 — 每次查詢"。

標題:"檢索增強生成流水線"。副標題:"Lewis et al., 2020"。

溯源

原作者
wuyoscar
收錄來源