Design a Retrieval-Augmented Assistant Over a Client's Policy Documents
Last updated: November 29, 2026
Quick Overview
A large enterprise client wants an internal GenAI assistant that answers employee questions from its HR, IT and compliance policies with citations, respecting document-level permissions. Design the system, including evaluation and guardrails.
Accenture
November 29, 20260
0
0 solved
A large enterprise client wants an internal GenAI assistant that answers employee questions from its HR, IT and compliance policies with citations, respecting document-level permissions. Design the system, including evaluation and guardrails.
Accenture is investing heavily in delivering generative AI for clients, and an access-controlled knowledge assistant is one of the most common first engagements. The interviewer checks retrieval quality, permission enforcement, measurable evaluation and responsible AI controls, not just 'put documents in a vector database'.
What the Interviewer Expects
- Designs ingestion with chunking, metadata and incremental refresh
- Enforces document permissions at retrieval time, not after generation
- Uses hybrid retrieval and reranking with justification
- Defines an offline evaluation set and online feedback metrics
- Handles hallucination with grounding, citations and refusal
- Addresses PII, prompt injection from documents, and cost
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- How do you know the assistant improved after you changed the chunking strategy?
- A policy was updated this morning. How quickly does the answer change and how do you guarantee it?
- How would you support questions that need data from a live system, like remaining vacation days?
- How do you stop a malicious document from instructing the model?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
Around 200k documents across SharePoint, Confluence and a policy CMS, in several languages. 50k employees, a few thousand questions per hour at peak. Answers must cite sources, only use documents the ...
High-Level Design
Ingestion connectors pull documents and their ACLs, convert to text, split into chunks of a few hundred tokens along headings, and store each chunk with metadata: source, section, effective date, lang...
Submit Your Answer
Accenture Machine Learning Engineer Interview Guide
Interview process, tips, and preparation timeline