π ConversationalΒΆ
metrics.llm_as_judge.direct.criteria.conversational
CriteriaWithOptions(
name="conversational",
description="Does the user response come across as conversational?",
prediction_field="user response",
context_fields=[],
options=[
CriteriaOption(
name="Yes",
description="The user response comes across as conversational.",
),
CriteriaOption(
name="No",
description="The user response doesn't come across as conversational.",
),
],
option_map={
"Yes": 1.0,
"No": 0.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.