8 lines
275 B
Python
8 lines
275 B
Python
"""Content moderation pipeline for AI narrator output.
|
|
|
|
Three-layer defense:
|
|
1. Game-context system prompts (vocabulary whitelists, theme framing)
|
|
2. Real-time output filter via Llama Guard (or fallback regex)
|
|
3. Per-game moderation profiles with configurable thresholds
|
|
"""
|