π Information Outside ReferenceΒΆ
metrics.llm_as_judge.direct.criteria.information_outside_reference
CriteriaWithOptions(
name="information_outside_reference",
description="Does the user response contain information outside of the reference document?",
options=[
CriteriaOption(
name="Yes",
description="The user response contains information outside of the reference document.",
),
CriteriaOption(
name="No",
description="The user response doesn't contain information outside of the reference document.",
),
],
option_map={
"Yes": 0.0,
"No": 1.0,
},
)
[source]from unitxt.llm_as_judge_constants import CriteriaOption
Read more about catalog usage here.