evaluate() / aevaluate() methods as before. Just pass in the experiment name / ID instead of a target function:
We've raised a $125M Series B to build the platform for agent engineering. Read more.
evaluate() / aevaluate() methods as before. Just pass in the experiment name / ID instead of a target function:
from langsmith import evaluate
def always_half(inputs: dict, outputs: dict) -> float:
return 0.5
experiment_name = "my-experiment:abc" # Replace with an actual experiment name or ID
evaluate(experiment_name, evaluators=[always_half])
Was this page helpful?