Krina Vaghela
← Blog

Day 7: RAG: Retrieval-Augmented Generation

Picture for Day 7: RAG: Retrieval-Augmented Generation

Today I learned about RAG (Retrieval-Augmented Generation).

AI + external knowledge = better, grounded answer.

  1. You ask a question
  2. System fetches relevant info (docs, DBs, etc.)
  3. Model answers using that context
  • Models have a knowledge cutoff
  • They don’t know your private/company data
  • Fine-tuning = train the model (slow, expensive)
  • RAG = give fresh info at runtime (fast, flexible)
  • Fine-tuning = Training a dog new commands
  • RAG = Giving the dog a cue card with the commands before it acts

Read this post on LinkedIn → (opens in a new tab)

↑ ↓ to move · Enter to open · Esc to close