nemoguardrails.library.activefence.actions
Module Contents
Functions
Data
API
async
Mapping for call_activefence_api.
Block (return True) if any of the following conditions are met:
- Overall max risk score > 0.7.
- Individual thresholds are exceeded:
- “abusive_or_harmful.harassment_or_bullying” > 0.8
- “abusive_or_harmful.profanity” > 0.7
- “abusive_or_harmful.hate_speech” > 0.6
- “abusive_or_harmful.child_grooming” > 0.4
- “abusive_or_harmful.general_violence” > 0.7
- “self_harm.general” > 0.8
- “adult_content.general” > 0.3
- “privacy_violation.pii” > 0.8