Recipe: compare prompts on a small test set
Recipe — A/B compare prompt variants. Pointer to the canonical SDK sample.
Last updated
Was this helpful?
Recipe — A/B compare prompt variants. Pointer to the canonical SDK sample.
The canonical sample lives in the SDK: samples/core/compare_evaluations.py — compare evaluation runs side-by-side to measure improvement over time.
Hold model and dataset fixed; vary the prompt.
Create an evaluation per variant with client.evaluations.create(model=, benchmark=).
Wait for completion on each via client.evaluations.wait_for_completion(evaluation).
Compare top-line accuracy and per-result deltas.
Last updated
Was this helpful?
Was this helpful?