RAG for Everyone

← Back to interview questions

Chapter 16 Project110 min build

Project: Top-K Retrieval Policy Planner

Build a planner that chooses retrieval policy from query intent, risk, score distribution, and trace signals.

What you will build

Product-level outcome

Evidence selection policy

Your project should output a practical retrieval policy: "For high-risk policy exceptions use k=10, EU active filters, query rewrite, parent expansion, dedupe, and reranking."

← Interview QuestionsChapter 17 →