Similarity rule for guardrails
similarity
rule is used to measure the semantic similarity between a content and a reference text or set of texts.
similarity
(specifies the rule type)pass
to ensure the content is sufficiently similar to the reference