π EmpathyΒΆ
metrics.llm_as_judge.direct.criteria.empathy
CriteriaWithOptions(
name="empathy",
description="Does the email response demonstrate empathy?",
options=[
CriteriaOption(
name="Yes",
description="The response demonstrates empathy, understanding the concerns or needs of the recipient.",
),
CriteriaOption(
name="No",
description="The response lacks empathy and fails to consider the recipient's concerns or needs.",
),
],
option_map={
"Yes": 1.0,
"No": 0.0,
},
)
[source]from unitxt.llm_as_judge_constants import CriteriaOption
Read more about catalog usage here.