Add additional evaluations on an already-run experiment? #4985
-
I have an experiment I already ran with some evaluations, but would like to add others without having to re-run the entire suite since it's quite long (and token-heavy). Is there a possibility to do that and attach the additional metrics to the experiment? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Yes, you can add additional evaluations to an already-run experiment without re-running the entire suite. Use the from phoenix.experiments import evaluate_experiment
experiment = evaluate_experiment(experiment, evaluators=[contains_keyword, conciseness]) This allows you to attach new metrics to the experiment results [1]. |
Beta Was this translation helpful? Give feedback.
-
Hey @omrihar, this makes a lot of sense. We don't currently have a way to do this, but I've filed a ticket here. |
Beta Was this translation helpful? Give feedback.
-
Actually, looks like this is already supported via the |
Beta Was this translation helpful? Give feedback.
-
Thanks @axiomofjoy , I'll try it out. Another couple of questions regarding experiments:
|
Beta Was this translation helpful? Give feedback.
Actually, looks like this is already supported via the
get_experiment
method on the client. You pass in theexperiment_id
and then can useevaluate_experiment
. Hope this helps!