Skip to main content

Run an evaluation

Evaluations

New evaluation is one form in five numbered parts, with a preview beside it that reads your choices back before anything runs.

Who can use it: the Builder role or higher, in a tenant licensed for evaluations.

VideoRun an evaluation2:48Watch on YouTube

Recorded on .

Prerequisites​

  • A published agent version to measure.
  • A dataset of questions with expected answers. The form links to uploading one if you have none. Evaluation datasets are their own library, separate from Studio's Storage and from knowledge sources; see Evaluation datasets.

Fill the form​

The New evaluation form with numbered sections for the evaluation name, the agent and version, and the dataset, and a Run preview panel listing the agent, dataset, evaluators, threshold, schedule and judge.The New evaluation form with numbered sections for the evaluation name, the agent and version, and the dataset, and a Run preview panel listing the agent, dataset, evaluators, threshold, schedule and judge.
New evaluation is one form in five parts, with a preview that reads the run back before it starts: the agent, the dataset, the evaluators, the threshold, the schedule and the judge.
  1. Name the evaluation

    Evaluation name is how the run appears in the list afterwards. Once you pick an agent and a dataset the form fills it in for you, as the agent, the dataset and the day joined together, and leaves it alone from the moment you edit it by hand.

  2. Pick the agent and version

    Agent & version invokes the agent once per dataset row. The version pins the prompt and model snapshot being measured, which is what makes two runs comparable.

  3. Pick the dataset

    Dataset takes a CSV or JSON with a question column, an expected answer column and an optional context column. The picker shows each dataset's sample count, and upload a new dataset goes to the importer without losing the form.

  4. Choose the evaluators
    The Evaluators section offering the RAGAS suite, Answer Relevancy, Helpfulness, Faithfulness and Safety, each with a one-line description, above a Pass threshold and schedule section with a threshold percentage, a judge model picker and the choices One-off, Daily and Weekly.The Evaluators section offering the RAGAS suite, Answer Relevancy, Helpfulness, Faithfulness and Safety, each with a one-line description, above a Pass threshold and schedule section with a threshold percentage, a judge model picker and the choices One-off, Daily and Weekly.
    Each evaluator says in one line what it asks of an answer. Below them, the pass threshold, the judge model and the schedule.

    Each evaluator scores every row, and each card says in one line what it asks. RAGAS is a bundle rather than a single measure: it selects faithfulness, answer relevancy, context precision and context recall together.

    The grid is built from the evaluators your tenant actually has, and picking the agent preselects a sensible set rather than the same one every time: the LLM judge for any agent, RAGAS only where the agent publishes a knowledge source, and Trajectory for a workflow. The preselection holds until you change the evaluators yourself. The evaluators is the catalogue: which need a judge model, which need gold data in the dataset, and which are measurements that never pass or fail a run.

    The defaults encode the same judgement you would apply by hand. Faithfulness judges against the context the agent retrieved, so it belongs on an agent that answers from knowledge and not on one that does not, which is why RAGAS is held back where there is none.

  5. Set the threshold, the judge and the schedule

    Threshold (%) is the pass mark, 75 by default. A run configured without one is a measurement rather than a pass or fail.

    Judge LLM is the model that grades the answers, and it starts on your platform's default judge rather than on whatever the gateway happens to list first. Only chat models are offered, so a code model cannot be picked by accident. Pinning one makes runs comparable over time. Where the AI Gateway has no chat model configured, the picker is replaced by No chat models configured and a link to configure one, and the run cannot start.

    Schedule is One-off, Daily or Weekly. A scheduled evaluation gets a row under Schedules, which is a view of its own rather than a filter on the runs list: what it runs, on what cadence, when it next runs, how the last run went with a link to it, and controls to pause, resume or delete it. The one-off run starts either way; if the schedule cannot be created, the run still goes ahead and the message says so.

    Run preview repeats the agent, dataset, evaluators, threshold, schedule and judge. Start evaluation begins the run and opens it.

Verify​

The run opens with its status showing, and appears at the top of the runs list. A run of a couple of hundred samples takes minutes rather than seconds, because the agent is invoked once per row and the judge scores each answer.

Troubleshooting​

  • Start evaluation is dimmed. It needs all five: a name, an agent, a dataset, at least one evaluator and a judge model. Nothing says which is missing, so read the preview: it shows a dash against whatever is not set.
  • The dataset picker says it could not reach the eval engine. That is a connection problem, not an empty library, and the picker says so rather than offering an upload that would fail the same way.
  • A dataset is missing its context column and you chose Faithfulness. The evaluator has nothing to ground against, so its scores will not mean much. Either add context to the dataset or leave the evaluator out.
  • The run sits at Running. After about ten minutes the run's page says it may be stuck and offers to re-check.
  • The run fails at once with a judge error. The judge model is checked before any sample is scored, so a bad judge fails the run in one message rather than once per sample.

Do this from your own code

Describes the platform as of .

Was this page helpful?