Your question is Document Retrieval for a Prompt System. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Design the backend for Harvey's Review Table product: users send a prompt, Vault stores a very large number of documents, and the service must return the relevant information from those documents based on the prompt.
Asked in the onsite stage. Asked by an engineering leader; focus was LLM + RAG.