Guard Rail
Base guardrail interface for AI interaction safety and policy enforcement.
GuardRails are specialized validators that focus on string-based validation for prompts, responses, and other text content in AI interactions. They extend the general ContentValidator framework to provide AI-specific safety measures.
GuardRails validate content for:
Safety and toxicity concerns
Organizational policy compliance
Data privacy and sensitive information
Content appropriateness and quality
Regulatory compliance requirements