Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
RAGとは(超概要)
Search
dassimen
May 06, 2025
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
RAGとは(超概要)
RAGとはをざっくりまとめました。
RAGと聞くと手法の言葉なのにアプリをそのまま指したりするから
最初のうちは混乱する。。。
dassimen
May 06, 2025
More Decks by dassimen
See All by dassimen
LLMとは(超概要)
dassimen001
0
130
LangChain × Ollamaで学ぶLLM & RAG超入門
dassimen001
1
370
まるでChatGTP!?
dassimen001
0
64
LLMローカル動作方法(NvidiaGPU使用)
dassimen001
0
120
🎭Playwright 超入門
dassimen001
0
74
LLMローカル動作方法
dassimen001
1
96
ベクトル変換について
dassimen001
1
64
Featured
See All Featured
エンジニアに許された特別な時間の終わり
watany
107
250k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
1.9k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
340
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
62
44k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
A Soul's Torment
seathinner
6
3k
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.7k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
550
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
A Tale of Four Properties
chriscoyier
163
24k
Transcript
RAG (Retrieval-Augmented Generation) 超概要 RAG (Retrieval-Augmented Generation) 超概要 © 2025
1
RAG とは? Retrieval-Augmented Generation Large Language Model (LLM) に外部知識を検索(Retrieval )で追加し、より正確で
最新の回答を生成(Generation )する手法 LLM 単体では学習時点の知識しか持たない -> RAG でドキュメントやデータベース を参照して補強 RAG を行うアプリケーション自体をRAG と呼ぶこともある RAG (Retrieval-Augmented Generation) 超概要 © 2025 2
仕組み(2 ステップ) 1. Retrieval 質問をEmbedding( ベクトル化) してベクターストアへ検索 関連ドキュメントを取得 2. Generation
取得したドキュメントをプロンプト( ユーザの質問) に結合 LLM が引用元を踏まえた回答を生成 RAG (Retrieval-Augmented Generation) 超概要 © 2025 3
主な構成要素 Embedding( 埋め込み) モデル: 文書をベクトル化 ベクターストア: Chroma, FAISS など Retriever:
類似度検索ロジック LLM: GPT-4o, Gemma など RAG (Retrieval-Augmented Generation) 超概要 © 2025 4
RAG のメリット 最新情報を取り込める 業務特化データに基づく高精度回答 モデルを再学習せず低コストでカスタマイズ RAG (Retrieval-Augmented Generation) 超概要 ©
2025 5
まとめ RAG とは、 「検索」 + 「生成」のこと ざっくり流れ:質問 → 検索 →
ドキュメント付きプロンプト → LLM RAG (Retrieval-Augmented Generation) 超概要 © 2025 6