RAG Assistant Answering TikTok Shop Seller Policy Questions
Last updated: November 29, 2026
Quick Overview
Design a retrieval-augmented LLM assistant inside Seller Center that answers sellers' questions about listing rules, prohibited products, fees and violation appeals, grounded in current policy documents and the seller's own account status.
TikTok
November 29, 20260
0
0 solved
Design a retrieval-augmented LLM assistant inside Seller Center that answers sellers' questions about listing rules, prohibited products, fees and violation appeals, grounded in current policy documents and the seller's own account status.
TikTok Shop sellers in many markets hit listing rejections and policy violations, and support volume grows with the seller base. This question checks retrieval design over versioned multilingual policy content, grounding and citation, personalization with account data, and how you evaluate and guard an LLM that gives quasi-official guidance.
What the Interviewer Expects
- Define scope, languages and what the assistant must refuse
- Design ingestion and chunking for versioned, market-specific policy docs
- Use hybrid retrieval with market and version filters
- Ground answers with citations and seller account context via tools
- Plan offline evaluation sets and online quality signals
- Address latency, cost and hallucination risk
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
- A policy changes tomorrow in one market. How does the assistant avoid answering from the old version?
- How would you measure whether the assistant reduced support tickets without hurting appeal outcomes?
- When should it hand off to a human agent?
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
- Answer policy and process questions in the seller's market and language, citing the exact policy section.
- Personalize: "why was my listing rejected" should use the seller's actual violation record...
High-Level Design
- Ingestion: policy pages, fee schedules and help articles per market, each chunk tagged with market, language, effective date and version. Re-indexed on publish.
- Retrieval: hybrid BM25 pl...