Design a long-context vs retrieval strategy for a product with highly variable document lengths.

Instruction: Explain how you would decide when to rely on long context and when to retrieve.

Context: Assesses whether the candidate can design a practical architecture and explain the main tradeoffs. Explain how you would decide when to rely on long context and when to retrieve.

Official answer available

Preview the opening of the answer, then unlock the full walkthrough.

I would treat long context as another tool, not a replacement for retrieval. Some tasks benefit from directly reading a...

Related Questions