Design a RAG Support Assistant for Meta Advertisers in Ads Manager
Last updated: November 29, 2026
Quick Overview
Design a retrieval-augmented assistant inside Ads Manager that answers advertiser questions such as why an ad was rejected or why delivery dropped, using help center articles and the advertiser's own account data. Cover retrieval, grounding, tools and evaluation.
Meta
November 29, 20260
0
0 solved
Design a retrieval-augmented assistant inside Ads Manager that answers advertiser questions such as why an ad was rejected or why delivery dropped, using help center articles and the advertiser's own account data. Cover retrieval, grounding, tools and evaluation.
Meta supports millions of small advertisers with limited human support, so an LLM assistant grounded in docs and account state is a realistic product. Interviewers look for a clear RAG pipeline, safe access to account data through tools, citation and refusal behavior, and evaluation with real support tickets.
What the Interviewer Expects
- Indexes help center and policy content with chunking and metadata
- Combines document retrieval with tool calls that read the advertiser's account state
- Grounds answers with citations and declines when evidence is missing
- Enforces access control so only the advertiser's own data is used
- Evaluates with a labeled set from past support tickets plus online resolution metrics
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 would you keep answers correct when policy pages are updated?
- How do you stop the assistant from promising an appeal outcome?
- How would you decide when to hand off to a human agent?
- How do you measure hallucination rate in production?
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
- Users: advertisers in Ads Manager, many languages.
- Questions: policy (why rejected), delivery (why spend dropped), billing, setup how-to.
- Sources: help center and policy articles, plus account d...
High-Level Design
- Document index: split help and policy articles into sections of a few hundred tokens with titles and metadata (policy area, language, last updated). Index with both dense embeddings and BM25. 2...