Design Retrieval-Augmented Answers from a Document Vault
Company: Harvey
Role: Software Engineer
Category: ML System Design
Difficulty: hard
Interview Round: Onsite
Overview: Design a document-vault question-answering service that returns grounded responses with citations while preserving tenant and document permissions. Cover versioned ingestion, retrieval quality, exact provenance, deletion and freshness, conflicting evidence, prompt injection, abstention, and evaluation.