The question asked about the input for this criterion. Must be non-empty.
The labels the criterion classifies into, each mapped to a description
of what it means, or null for none. Descriptions are sent to the model.
Names the criterion's result, and the question sent to the backend. Must be unique within an evaluator.
OptionaloptimizationThe direction in which this criterion's score should be optimized.
Defaults to the evaluator's optimizationDirection. It is set on each
CriterionResult; experiments don't record it in Phoenix.
OptionalscoreMaps labels to scores. A label without an entry produces a result with a label and no score; omit the map for label-only classification.
One named classification question asked by a criteria classification evaluator. Every criterion is answered in the same backend request and produces one CriterionResult.
Example