ML System to Detect Harmful LLM Content
Asked at Databricks · System Design for ML · Difficulty: Hard · Last asked Apr 13, 2026
Design a machine learning system that detects harmful content in the responses of an LLM-based assistant. The system scores every response as it is produced and also rescans stored conversations offline. Its scores feed a content-moderation pipeline that blocks some content automatically, sends some to human reviewers, and lets the rest through. Reviewer decisions must flow back into the models, and the system must follow the content policy as that policy changes.
Loading the problem…