Content criteria to evaluate. Note: Granite Guardian requires separate calls for each configured content category. Recommendation: Use only harm catch all content category.
Optionalharm?: booleanCatch-all criterion for generally harmful content.
Optionaljailbreak?: booleanDetect attempts to manipulate the model into producing harmful or otherwise undesired outputs.
Optionalprofanity?: booleanDetect offensive language or insults.
Optionalsexual_content?: booleanDetect explicit or suggestive material of a sexual nature.
Optionalsocial_bias?: booleanDetect prejudice or discrimination based on identity or protected characteristics.
Optionalunethical_behavior?: booleanDetect content describing actions that violate moral or legal standards.
Optionalviolence?: booleanDetect content promoting or depicting physical, mental, or sexual harm.
Optionalenable_Enable reasoning (think) mode for Granite Guardian. Applies to every configured category. Returns reasoning content when enabled, e.g. 'harm': {'verdict': true, 'reasoning': '...'}
Configuration for IBM Granite Guardian 4.1 filter provider.