-
Notifications
You must be signed in to change notification settings - Fork 8
Moderation Filter
goldy4719 edited this page Apr 10, 2026
·
2 revisions
The system evaluates uploaded images for unsafe content using Rekognition moderation labels and enforces a blocking policy when necessary.
- Existing Lambda pipeline
- Moderation permissions
- Defined payload contract with moderation fields
- Agreement on the moderation policy behavior
- The system invokes detect_moderation_labels alongside label detection.
- The system normalizes moderation labels and sorts them by confidence.
- The system sets a flagged state when moderation thresholds are met.
- The system blocks flagged images by returning a structured response.
- The system excludes normal tags when content is flagged.
- Moderation runs by default with optional configuration.
- Flagging follows a single consistent rule.
- Unsafe content is blocked at the pipeline level.
- Moderation output remains separate from normal tags.