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).
Type
Union[bool, str, float]reason?str
Explanation of why this score was given.
Type
strcitations?Optional[List[Citation]]
Optional references to specific trace spans.
Type
Optional[List[Citation]]Default
None