Check Text Against Governance Policy
rai_policy_checkEvaluate text or model responses against a governance policy to check blocked topics, keywords, length, PII, and required disclaimers, returning pass/fail per rule with fixes.
Instructions
Evaluate text or a model response against a governance policy. Checks for: prohibited topics, required disclaimers, output length limits, language restrictions, and custom keyword blocklist. Returns pass/fail per policy rule with remediation guidance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to evaluate against policy | |
| policy | Yes | Governance policy configuration |