π Step By Step Reasoning Missing StepsΒΆ
metrics.llm_as_judge.direct.criteria.step_by_step_reasoning_missing_steps
CriteriaWithOptions(
name="step_by_step_reasoning_missing_steps",
description="Is the reasoning in the generated response incomplete and lacking required information to produce the correct answer? Specifically, does this response contain steps that, if added in, would make for a well-supported chain?",
prediction_field="generated response",
context_fields=[
"question",
"premise",
"hypothesis",
"correct answer",
],
options=[
CriteriaOption(
name="Yes",
description="",
),
CriteriaOption(
name="No",
description="",
),
],
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.