A Gateway-Centric Architecture for Bidirectional Content Moderation in Large Language Models
Large language model (LLM) applications deployed in regulated and high-risk environments face two coupled runtime risks: input-side prompt injection and output-side content compliance violations. Existing defenses are often either model-centric (alignment or fine-tuning) or application-local (keywords and regex), which...