Skip to content
Judgment Labs
Esc
↑↓navigate↵open⌘Jpreview
On this page

BaseResponse

Base class for all scorer response types.

You don’t use this directly – use BinaryResponse, NumericResponse, or a CategoricalResponse subclass instead.

Attributes

PropType
value?Union[bool, str, float]

The score (bool, str, or float depending on type).

TypeUnion[bool, str, float]
reason?str

Explanation of why this score was given.

Typestr
citations?Optional[List[Citation]]

Optional references to specific trace spans.

TypeOptional[List[Citation]]
DefaultNone

Was this page helpful?