← Questions

Design a RAG question-answering agent over a firm's documents

0
HarveySystem designLast asked Sep 2026

An AI system design interview question asked in Harvey's system design (LLM applications) round, last asked Sep 2026. It tests rag, retrieval and llm evaluation.

Design a question-answering system over a large, private collection of documents, such as a law firm's memos, briefs and contracts. A user asks a question in plain language; the system retrieves the passages that matter, has a model write…

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

rag · retrieval · llm evaluation · agents

Your canvas and the AI tutor open when you unlock this question.