What is Sensitive Social Policy?
Sensitive social policies detect racism, hate speech, discriminatory language, and other sensitive social issues to maintain respectful and inclusive communication.Why its Important?
Sensitive social policies are crucial for maintaining an inclusive and respectful environment when using AI agents. These policies prevent hate speech and discriminatory content from being processed by LLMs, which helps protect users from harmful content and maintains ethical communication standards.- Prevents sending hate speech to LLM: Blocks racist, discriminatory, and hateful content from being processed by language models
- Maintains inclusive environment: Ensures your AI agent interactions are respectful and inclusive of all individuals
- Protects users from harmful content: Prevents exposure to discriminatory language, hate speech, and offensive material
Usage
Available Variants
SensitiveSocialBlockPolicy: Keyword and pattern detection with blockingSensitiveSocialBlockPolicy_LLM: LLM-powered block messagesSensitiveSocialBlockPolicy_LLM_Finder: LLM detection for context awarenessSensitiveSocialRaiseExceptionPolicy: Raises DisallowedOperation exceptionSensitiveSocialRaiseExceptionPolicy_LLM: LLM-generated exception messages

