- Newest
- Most votes
- Most comments
While the best practices for Amazon Bedrock guardrails advise against defining negative topics or exceptions, there are some strategies you can consider to refine your self-harm topic filter for educational use:
-
Refine the topic definition: Instead of focusing on broad self-harm references, narrow the definition to emphasize immediate, personal intent. For example: "Expressions of personal intent or desire to engage in self-harm or suicide in the present moment."
-
Use more specific sample phrases: Provide sample phrases that clearly indicate personal intent, such as "I want to hurt myself right now" or "I'm thinking about ending my life today."
-
Combine with content filters: Use the denied topic in conjunction with the Violence content filter. Set the Violence filter to a lower strength to catch broader references, while using the denied topic for more specific, immediate concerns.
-
Leverage multiple denied topics: Create separate denied topics for different aspects of self-harm. For instance, one for immediate personal intent and another for general discussion of the topic.
-
Regular review and refinement: Continuously monitor and adjust your guardrail based on its performance in real-world scenarios.
-
Consider using word filters: For very specific terms or phrases you want to catch, you might use word filters in addition to denied topics.
Remember that while these strategies can help, they may not perfectly distinguish between all cases. It's important to have human oversight and additional support systems in place, especially when dealing with sensitive topics like self-harm in an educational context.
Lastly, consider reaching out to AWS support for guidance on implementing guardrails for this specific use case, as they may have additional insights or recommendations based on similar customer experiences.
Sources
Block denied topics to help remove harmful content - Amazon Bedrock
Safeguard your app with a guardrail - Amazon Bedrock Studio
Relevant content
asked 2 years ago
asked a year ago
- AWS OFFICIALUpdated a year ago
