Design a content moderation pipeline for model inputs and outputs
MediumSystem design45 minSWEREMLEPro outline
The question
Design a system that checks user prompts and model outputs for policy violations, with low added latency for chat and a path for human review.
What the interviewer is looking for
- Layered checks: cheap first, expensive later
- Latency budget awareness
- Streaming output handling
- Human review loop and feedback
- Metrics for precision and recall
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported OpenAI question type: ChatGPT-style infrastructure: multi-tenant chat, a moderation pipeline, token billing, GPU scheduling or KV-cache management.
Reported in: techinterview.org
Practice question written by BlogLLM based on publicly reported interview formats. Not an official OpenAI question.