[CONFIG] [SECURITY] Gemma Scout PII Redaction Middleware #246
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Gemma 2B should act as a "Reflex Layer" gatekeeper, scrubbing PII before data hits larger models or logs.
Scoping
gemma2:2b(Ollama).Acceptance Criteria
pii-scrubbertask intasks.py.[CONFIG] Implement "Gemma Scout" PII Redaction Middlewareto [CONFIG] [SECURITY] Gemma Scout PII Redaction MiddlewareI have implemented the
pii_scrubbertask intasks.pyand enabledredact_piiinconfig.yaml.The task uses
gemma2:2bwith a specialized system prompt for redaction.PR: #294