ai21.net
言語

検索拡張生成(RAG)パイプライン

検索拡張生成(RAG)パイプライン — 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".

日本語訳

RAG パイプラインの横向き 16:9 学術システム図。左から右へ 6 段階のフロー。

(1)「User query」ボックス。プレースホルダーテキスト「What are the side effects of drug X?」と小さなユーザーシルエット。
(2) 六角形の「Embedding encoder (BERT-style)」、キャプション「dense vector d=768」。
(3) 様式化したデータベース円柱「Vector store」、「Index: 1.2M chunks」。(2) からの矢印にラベル「kNN, k=5」。
(4)「Retrieved passages」— 5 つのドキュメントサムネイルのスタック。キャプション「top-k chunks + metadata」。
(5) 六角形のハブ「Frozen LLM」。(1) からの長い曲線矢印にラベル「original query」もここに到達。(4) からの矢印にラベル「retrieved context」。
(6)「Grounded answer」、インラインマーカー「[cite: doc#47]」、キャプション「with source citations」。

(2)〜(3) を囲む破線の枠にラベル「OFFLINE — built once」。(4)〜(5) を囲む破線の枠にラベル「ONLINE — per query」。

タイトル:「Retrieval-Augmented Generation pipeline」。サブタイトル:「Lewis et al., 2020」。

出典

原作者
wuyoscar
収録元