Phase 1: Indexing (Preparation)
1
📚
Documents
2
🧠
Embedding
3
🗄️
Vector DB
Phase 2: Retrieval (At Query Time)
4
❓
User Query
5
🧠
Embedding
6
🔎
Search
Phase 3: Generation (Creating the Answer)
7
📋
Prompt
8
🤖
LLM
9
✨