Skip to content

Commit 89bfde0

Browse files
committed
Fix inconsistent photorealistic compliance severity
Add explicit guidance that photorealistic product/marketing images are acceptable and should not be flagged as violations. Only flag photorealistic content involving fake people or misleading contexts as ERROR severity. Fixes QA bug where photorealistic issues were randomly flagged as critical or warning.
1 parent e4f40e1 commit 89bfde0

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

content-gen/src/backend/settings.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,14 @@ def get_compliance_prompt(self) -> str:
312312
- Do not generate images depicting violence, weapons, or harmful activities
313313
- Avoid culturally insensitive or appropriative imagery
314314
315+
**IMPORTANT - Photorealistic Product Images Are ACCEPTABLE:**
316+
Photorealistic style for PRODUCT photography (e.g., paint cans, products, room scenes, textures)
317+
is our standard marketing style and should NOT be flagged as a violation. Only flag photorealistic
318+
content when it involves:
319+
- Fake/deepfake identifiable real people (SEVERITY: ERROR)
320+
- Misleading contexts designed to deceive consumers (SEVERITY: ERROR)
321+
Do NOT flag photorealistic product shots, room scenes, or marketing imagery as violations.
322+
315323
### Compliance Validation
316324
The Compliance Agent MUST flag any content that violates these RAI principles as SEVERITY: ERROR.
317325
RAI violations are non-negotiable and content must be regenerated.

0 commit comments

Comments
 (0)