1
Create a dataset
- Download travel-support.csv: three Basic fare questions, each with its correct answer.
- Go to Datasets → New Dataset → Upload CSV, name it
travel-support, add the file, and click Create Dataset.
2
Run a baseline
-
Go to Playgrounds and choose
travel-supportfrom Select a Dataset. Its columns become variables like{question}. -
Use this as the user prompt:
Selecting a dataset in the Prompt Playground.
3
Add an evaluator
-
Click Add Evaluator → New Evaluator and pick the Q&A template, which labels each answer
correctorincorrectagainst reference data. -
Under Map Variable to Data:
- Save the evaluator and click Run.
incorrect labels, since the prompt doesn’t know the policy. Click View Experiment and hover a label to read why.4
Test the fix
-
Click Add → Duplicate and replace the copy’s user prompt with:
- Click Run All. Both prompts use the same dataset and evaluator, so the only difference is your change.
- To compare in detail, open the dataset’s Experiments tab, select both runs, and click Compare.

Two experiments compared side by side on the same evaluator.
Other ways to run experiments
With your coding agent, using Arize Skills (arize-dataset, arize-experiment, arize-evaluator, and arize-prompt-optimization). See coding agent setup for authentication.
ax CLI: