Join us May 13th & May 14th at Interrupt, the Agent Conference by LangChain. Buy tickets >
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])