- (Python only) an
int
,float
, orbool
- a dict of the form
{"key": "metric_name", "score": int | float | bool}
- (Python only) a
str
- a dict of the form
{"key": "metric_name", "value": str | int | float | bool}
- Python: Requires
langsmith>=0.2.0
- TypeScript: Support for multiple scores is available in
langsmith@0.1.32
and higher