π 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?",
prediction_field="user response",
context_fields=[
"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
Explanation about CriteriaWithOptionsΒΆ
Criteria used by DirectLLMJudge to run evaluations.
Explanation about CriteriaOptionΒΆ
A criteria option.
Read more about catalog usage here.