An evaluation runs a prompt against sample inputs and, if you add scorers, scores each answer, so you can see whether a new version or a different model does better before you release it. The inputs come from a dataset or from values you type in. The scores come from scorers: marking guides that an AI judge applies to each answer. Nucleus includes Coherence, Faithfulness and Relevance scorers, and you can write your own.
Before you start
Tenant Owners, Workspace Admins and Workspace Members can create datasets and run evaluations. Only Tenant Owners and Workspace Admins can create or change scorers. The models you can compare are the ones your workspace allows for Nucleus in Studio settings, under AI Models.
Start a dataset
A dataset is a named set of input rows, each holding a value for the prompt’s variables and, if you want, the answer you expect.
Start a dataset
Select Datasets, then New dataset.
Choose where the rows come from
Choose From Observability to use real requests, Manual to type rows yourself, or Upload CSV / JSONL to use a file.
Name it
Enter a Name. The Slug fills in from it.
Describe it
Add a Description if you want.
Tag it
Add Tags if you want.
Under Rows, the form shows the fields for the source you chose. Next, add the rows.
Add the rows
Choose the prompt
If you chose From Observability, choose the Prompt.
Choose how far back to look
If you chose From Observability, choose how many days back to look under Window (days).
Fill in the rows
If you chose Manual, fill in each row.
Add more rows
If you chose Manual and need more rows, select Add row.
Add the file
If you chose Upload CSV / JSONL, drop the file in.
Check the file
If you added a file, select Preview to check it.
Create it
Select Create dataset.
For Manual rows, write the inputs under input_variables (JSON) with one entry per variable, such as { "ticket": "The van will not start" }. Add the answer you hope for under expected_output (optional).
The dataset opens, and it is listed in Datasets with its number of rows. Next, set up an evaluation with it.
Set up an evaluation
Start an evaluation
Select Evaluations, then New Evaluation.
Choose what to compare
Choose Model comparison to try one version on several models, Version comparison to try several versions on one model, or Full matrix to try every combination.
Choose the prompt
Pick the Prompt.
Choose the versions
Pick the versions to compare.
Choose the models
Pick the models to compare.
Add scorers
Under Scorers, select the scorers to mark each answer with. This is optional.
Input is next on the form. Next, add input and run the evaluation.
Choose the input
Under Input, stay on Manual or choose From dataset.
Fill in the values
If you stayed on Manual, fill in the values.
Pick the dataset
If you chose From dataset, pick the Dataset.
Pick the dataset version
If you chose From dataset, pick its Version.
Name it
Change the name if you want.
Run it
Select Run evaluation.
Results shows the run’s progress, then the answers once it finishes. The run is also listed under Runs. Every answer is a real request to the model, and each scorer adds a request to its judge. Next, read the results.
Read the results
Select a run under Runs to open it. Each result shows the model and version, the answer, its scores and how long it took. Mean per scorer at the bottom gives the average score for each scorer across the run.
To record which result you prefer, select the thumbs-up on it. The result is marked with a crown, and the run’s Winner column in Runs shows it. Next, evaluate every new version automatically.
Create a scorer
Open the scorers
Select Evaluations, then the Scorers tab, then New scorer.
Give it a slug
Enter a Slug.
Describe it
Enter a Description that helps your team pick it.
Write the rubric
Under Rubric, describe what each score means. The judge sees exactly this, so be specific.
Choose the judge
Pick the Judge model.
Choose the scale
Pick the Scale.
Create it
Select Create scorer.
The scorer appears under Workspace scorers, and you can add it to any evaluation in this workspace. Next, set up an evaluation with it.
Evaluate every new version automatically
With automatic evaluation on, every version you save is run against a dataset and scored, and Nucleus uses the result when you promote.
Open the prompt
Select Prompts, then the prompt.
Open the settings
Select Advanced configuration.
Turn it on
Tick Auto-evaluate on save.
Choose the dataset
Pick a Default dataset.
Choose the scorers
Select one or more Default scorers.
Set a pass mark if you want one
Under Pass threshold (optional), enter the average score a version needs.
Save
Select Save auto-eval settings.
From now on, each version you save is evaluated. Next, promote the version.
Troubleshooting
Run evaluation stays greyed out
Choose a prompt, and as many models and versions as the evaluation type asks for. Model comparison needs at least two models, and Version comparison at least two versions.
A manual row says "input_variables is not valid JSON"
Check the row’s braces and quotation marks. Each entry needs its name and its value in double quotes, such as { "ticket": "The van will not start" }.
Nucleus says "Slug must be kebab-case"
Use only lower-case letters, numbers and hyphens in the Slug, such as van-breakdown-tickets.
Advanced configuration says "saves will skip"
Automatic evaluation needs a Default dataset and at least one Default scorer. Pick both, then select Save auto-eval settings.
Only Tenant Owners and Workspace Admins can create scorers. You can still use the ones listed in any evaluation.