Skip to content
Judgment Labs
Esc
navigateopen⌘Jpreview
On this page

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.

Typestring | number | boolean
reason?string

Human-readable explanation of why this score was given.

Typestring
citations?Citation[] | null | undefined

Optional trace citations supporting this score.

TypeCitation[] | null | undefined

Was this page helpful?