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

BinaryResponse

Pass/fail response for binary scorers.

return BinaryResponse(
    value=True,
    reason="Output correctly answers the question.",
)

Attributes

PropType
value?bool

True if the evaluation passed, False otherwise.

Typebool
reason?str
Typestr
citations?Optional[List[Citation]]
TypeOptional[List[Citation]]
DefaultNone

Was this page helpful?