From 9c9f6cdf14b1a956315425831791db50d4656504 Mon Sep 17 00:00:00 2001 From: harry-humanloop <91058617+harry-humanloop@users.noreply.github.com> Date: Tue, 19 Nov 2024 19:56:22 +0000 Subject: [PATCH] use specified version id in run util --- src/humanloop/eval_utils/run.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/humanloop/eval_utils/run.py b/src/humanloop/eval_utils/run.py index 5fd25e7d..32922212 100644 --- a/src/humanloop/eval_utils/run.py +++ b/src/humanloop/eval_utils/run.py @@ -409,7 +409,9 @@ def run_eval( run: EvaluationRunResponse = client.evaluations.create_run( id=evaluation.id, dataset={"version_id": hl_dataset.version_id}, + version={"version_id": hl_file.version_id}, orchestrated=False if function_ is not None else True, + use_existing_logs=False, ) # Every Run will generate a new batch of Logs run_id = run.id