A LabelModelGrader object which uses a model to assign labels to each item in the evaluation.
A list of chat messages forming the prompt or context. May include variable references to the item namespace, ie {{item.name}}.
item
The labels to classify to each item in the evaluation.
The model to use for the evaluation. Must support structured outputs.
The name of the grader.
The labels that indicate a passing result. Must be a subset of labels.
The object type, which is always label_model.
label_model
A LabelModelGrader object which uses a model to assign labels to each item in the evaluation.