Senior ML Engineer interview at Anthropic
The "Lost in the Middle" Trap
“Your retriever pulls top-10 chunks, reranks them, and you feed all 10 to the LLM to be safe. Walk me through exactly what breaks, and when you’d retrieve fewer documents on purpose.”
RAG #25
Jul 29, 2026