NumericResponse
Response for numeric scorers (e.g. 0.0 to 1.0).
return NumericResponse(
value=0.85,
reason="Output covers most of the expected content.",
)
Attributes
PropType
value?float
The numeric score.
Type
floatreason?str
Type
strcitations?Optional[List[Citation]]
Type
Optional[List[Citation]]Default
None