Skip to content
mentoor

When RAG, and when not

For engineers

Choosing between retrieval, long context, fine-tuning, tools and plain prompting for a knowledge problem, based on corpus size, freshness, cost and accuracy needs

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

A 50,000-token policy document gets about 15 questions a day. Which approach is the best first version?

Choose one answer

Check yourself · 2 of 5

Support answers quote last quarter's price list. Which gap is this?

Choose one answer

Check yourself · 3 of 5

A user asks, "How many support tickets are open right now?" Which design fits?

Choose one answer

Check yourself · 4 of 5

What belongs in the review-trigger line of an architecture decision?

Choose one answer

Check yourself · 5 of 5

A pricing table was split in the middle, so no chunk holds the full table. Which stage is at fault?

Choose one answer

Topics

  1. Retrieval versus stuffing the context window4 min read · When a corpus fits in a million-token window with prompt caching, and when size, cost, latency and lost-in-the-middle effects make retrieval the better choice
  2. Fine-tuning teaches behaviour, retrieval supplies facts4 min read · Why fine-tuning is poor at adding fresh or citable knowledge, and where it still helps with format, tone and domain vocabulary
  3. Live tool calls versus a prebuilt index4 min read · Calling an API, SQL query or web search at question time instead of indexing a copy, for data that changes by the minute or needs exact lookups
  4. Choosing a knowledge strategy for a product5 min read · A decision path through corpus size, update rate, access rules, citation needs and budget that ends in one architecture
  5. Anatomy of a retrieval pipeline end to end5 min read · The stages from ingestion and chunking through indexing, query handling, retrieval, reranking, generation and citation, and what fails at each

Start here

110 questions · last verified 2026-12