- (仅 Python)
int、float或bool - 形式为
{"key": "metric_name", "score": int | float | bool}的字典
- (仅 Python)
str - 形式为
{"key": "metric_name", "value": str | int | float | bool}的字典
- Python:需要
langsmith>=0.2.0 - TypeScript:
langsmith@0.1.32及更高版本支持多个分数
int、float 或 bool{"key": "metric_name", "score": int | float | bool} 的字典str{"key": "metric_name", "value": str | int | float | bool} 的字典langsmith>=0.2.0langsmith@0.1.32 及更高版本支持多个分数