BaseResponse
Base fields shared by all scorer response types.
Custom judges return one of the concrete subtypes
(BinaryResponse, NumericResponse, or CategoricalResponse)
from their score() method.
Properties
PropType
value?string | number | boolean
The score value. Type depends on the concrete response type.
Type
string | number | booleanreason?string
Human-readable explanation of why this score was given.
Type
stringcitations?Citation[] | null | undefined
Optional trace citations supporting this score.
Type
Citation[] | null | undefined