π Email StructureΒΆ
metrics.llm_as_judge.direct.criteria.email_structure
CriteriaWithOptions(
name="email_structure",
description="Does the email response have a clear and logical structure?",
options=[
CriteriaOption(
name="Yes",
description="The response has a clear, logical structure with well-organized ideas.",
),
CriteriaOption(
name="No",
description="The response lacks a clear structure, and ideas are poorly organized.",
),
],
option_map={
"Yes": 1.0,
"No": 0.0,
},
)
[source]from unitxt.llm_as_judge_constants import CriteriaOption
Read more about catalog usage here.