Files
Timmy-time-dashboard/src/infrastructure/guards/__init__.py
Claude (Opus 4.6) 1697e55cdb
Some checks failed
Tests / lint (push) Has been cancelled
Tests / test (push) Has been cancelled
[claude] Add content moderation pipeline (Llama Guard + game-context prompts) (#1056) (#1059)
2026-03-23 02:14:42 +00:00

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
"""