A new enterprise customer signs on. You have their document corpus but nothing else: no labeled questions, no relevance judgments, no usage history. Describe how you would stand up a working RAG system for them and, critically, how you would know it works before you have any real eval data.
Ship strong defaults (general embeddings + hybrid retrieval + reranker), bootstrap an eval set by LLM-generating Q/A from their docs with human review, then improve from live feedback.
Imagine opening a library branch in a town you've never visited, with no idea what people will ask. You can't custom-tailor anything yet, so you start with a librarian who's good everywhere and a sensible filing system. To check it works before any visitors arrive, you read some of the books yourself and write practice questions whose answers you know are in there — then a colleague double-checks your practice questions are fair. You quiz the librarian on those and see how often they find the right shelf. Once real visitors start asking, you watch which answers got a thumbs up and which sent people away frustrated, and you adjust. So it goes: safe defaults first, a homemade but vetted practice quiz to prove it works, then real visitor reactions to make it better.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
2–4 min · Everything important, quickly.
4-5 min: the defaults then verify then improve arc, why you can't tune from zero, the synthetic eval with a human gate trick, the retrieval versus generation metric split, and the live-feedback loop.
Real products, models, and research that use this idea.
- RAGAS-style synthetic test-set generation creates question/answer pairs from a customer's own documents to bootstrap evaluation.
- Production RAG teams ship general embeddings plus hybrid BM25 retrieval and a Cohere-style reranker as the day-one default stack.
- Support-bot deployments instrument thumbs up/down and escalation to a human from the first session to accumulate a real eval set.
What an interviewer would ask next. Try answering before peeking at the approach.
QHow do you stop a synthetic eval set from being too easy or unrepresentative?
QOnce real feedback arrives, what do you fine-tune first — the embeddings or the reranker?
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Trusting an LLM-generated eval set without a human gate. A synthetic set scored by the same family of model that built it is self-graded — it can certify a broken pipeline as working.
60-second night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.