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.
Type
boolreason?str
Type
strcitations?Optional[List[Citation]]
Type
Optional[List[Citation]]Default
None