Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
本站翻译于2026年5月3日,请放心食用🎉🎉🎉
evaluate()
aevaluate()
from langsmith import evaluate def always_half(inputs: dict, outputs: dict) -> float: return 0.5 experiment_name = "my-experiment:abc" # 替换为实际的实验名称或 ID evaluate(experiment_name, evaluators=[always_half])