Boolean
Use Boolean when your metric is a binary decision, such astoxicity or context adherence.
Set metric.type: "binary"
For binary metrics:
We recommend you add llmaj_source_prompt so we can auto extract the below fields, but if you wish to have granular control then:
- you must define exactly 2 class labels
- labels are typically
0and1 - each class label should include a name and rubric
Categorical (multi-class)
Use Categorical (multi-class) when exactly one class should be assigned to each example. For exampletone
Set:
metric.type: "multi-class"
llmaj_source_prompt so we can auto extract the below fields, but if you wish to have granular control then:
- define one class label entry per class
- label values should be unique
- in practice, sequential integer labels are the most common pattern
Not Supported
These output types are not currently supported by Luna Studio -- Count
- Discrete
- Percentage
- Multilabel