Classifier rule for guardrails
classifier
rule is used to categorize content into predefined classes or topics. This rule is particularly useful for ensuring that the user questions and LLM responses stay on-topic and relevant to the intended context. It can be used to block off-topic content or to guide the LLM to generate content within specific categories.
classifier
(specifies the rule type)