Running experiments
Create and run evaluation experiments to test your models.
What is an experiment?
An experiment is a single evaluation run. You take a model, throw a dataset of prompts at it and measure how well it performs. Each experiment captures a snapshot of your model's capabilities at a specific point in time, making it easy to track improvements (or regressions) as you iterate.
The experiment wizard walks you through four steps: configuring the model you want to test, selecting your dataset, choosing a judge LLM and picking which metrics to measure. Most experiments take just a few minutes to set up and run.
Starting a new experiment
Click New experiment from either the Overview or Experiments tab. This opens a step-by-step wizard that guides you through the configuration. Let's walk through each step.
Step 1: Choose your model
First, you'll configure the model you want to evaluate. This is the model that will receive the prompts from your dataset and generate responses.
Select a provider from the grid. Each provider card shows its logo for easy recognition:
- OpenRouter: One key for models from many providers.
- OpenAI: Current GPT models. You'll need your OpenAI API key.
- Anthropic: Current Claude models. Great for testing against a different model family.
- Gemini: Google's Gemini models.
- xAI: Grok models.
- Mistral: Mistral's models.
- HuggingFace: Open-source models like TinyLlama. No API key required for some models.
- Ollama: Locally-hosted models. Point to your Ollama instance to evaluate models running on your own hardware.
- Custom / Self-hosted: Any OpenAI-compatible endpoint, including one on your own machine.
After selecting a provider, pick or type the model ID (for example gpt-4o or a Claude Sonnet model). Cloud providers need an API key; Ollama and custom endpoints need the endpoint URL.
Step 2: Select your dataset
The dataset determines what prompts your model will receive. This is where you define the test cases that will reveal how well your model handles different scenarios. For more on creating and customizing datasets, see Managing datasets.
You have three options:
- Upload a dataset: Click Upload dataset to add a JSON file. It is saved for your organization so you can reuse it.
- Your datasets: Datasets you or your colleagues uploaded or created earlier.
- Templates: Curated test sets for your use case (for example "Chatbot templates"), maintained by VerifyWise.
Single-turn vs. conversational
For chatbot evaluations, the format comes from the dataset you choose. Each dataset is marked Single-turn, Multi-turn or Simulated:
- Single-turn: Each test case is an isolated prompt and response. Good for question-answering or one-shot tasks.
- Conversational (multi-turn): Test cases include a conversation history. The model sees earlier messages before it answers, which reflects how people actually use chatbots.
Running on fewer prompts
The wizard runs every prompt in the dataset you pick. To run on fewer prompts, open Datasets, copy a template or open your dataset, and remove the prompts you don't need before you start the experiment. The Datasets page is also where you can preview a dataset's prompts.
Step 3: Choose how responses are scored
The Scorer / Judge step first asks for the evaluation method: Standard judge only (built-in metrics scored by a judge LLM), Custom scorer only (your own scorers) or Judge + scorer (both). The judge LLM is the model that scores the built-in metrics: it looks at each output, compares it against the expected result and assigns scores for each metric.
Choosing a good judge matters. You generally want:
- A capable model: GPT-4, Claude 3 Opus, or similar frontier models make the best judges. They're better at nuanced evaluation.
- Consistency: Use the same judge across experiments if you're comparing results. Different judges may score differently.
- Cost: Judging can get expensive since every test case requires multiple API calls. Consider using GPT-4o-mini for initial testing.
For a standard judge, configure:
- Provider and model: Same options as the model being tested. Pick a strong evaluator.
- API key: Required for cloud providers. This can be the same key as your test model if using the same provider.
The judge runs with a temperature of 0.7 and up to 2,048 output tokens; these can't be changed in the wizard.
Step 4: Select your metrics
The metrics available depend on your use case and dataset type. The wizard automatically shows relevant metrics based on your selections, so you're not overwhelmed with options that don't apply.
Metrics by use case
Different use cases benefit from different evaluation approaches:
- Chatbot: For conversational AI. Single-turn datasets show the core metrics. Multi-turn datasets unlock conversational metrics like turn relevancy, knowledge retention, coherence, helpfulness, task completion and conversation safety.
- RAG: For retrieval-augmented generation. Core metrics plus context relevancy, context precision, context recall and faithfulness. These need retrieval_context in your dataset.
- Agent: For AI assistants that take actions. Core metrics plus agent-specific evaluations for tool use, multi-step reasoning and task execution.
Core metrics (all use cases)
- Answer relevancy: Does the response actually address the question? A model that gives accurate but off-topic answers scores low here.
- Bias detection: Flags responses containing gender, racial, political or other forms of bias. Important for any user-facing application.
- Toxicity detection: Catches harmful, offensive, or inappropriate language. Turn this on for any model that interacts with users.
- Correctness: Is the answer factually right?
- Completeness: Does the response address every part of the question?
- Hallucination detection: Identifies fabricated facts or unsupported claims.
- Instruction following: How well does the model follow the given instructions?
Conversational metrics (multi-turn chatbots)
When you select a multi-turn dataset for chatbot evaluation, you'll see an expandable "Conversational metrics" accordion with these additional options:
- Turn relevancy: Does each response address the user's current message in context?
- Knowledge retention: Does the model remember information from earlier in the conversation?
- Conversation coherence: Does the conversation flow logically without contradictions?
- Conversation helpfulness: Are responses actually useful for the user's goals?
- Task completion: Does the conversation successfully complete the user's intended task?
- Conversation safety: Is the conversation safe across all turns, even under manipulation?
RAG-specific metrics
- Faithfulness: When given context, does the model stick to that context or make things up?
- Context relevancy: Is the retrieved context actually relevant to the question?
- Context precision: Does the retrieved context contain only relevant information?
- Context recall: Was all the information needed for the answer retrieved?
Running the experiment
Click Start experiment to begin. The experiment will show up immediately in your experiments list with a "Running" status. Evaluation time depends on the dataset size and the models involved.
You can navigate away while the experiment runs, it continues in the background. When it completes, the status changes to "Completed" and you can view the results.
Understanding your results
Click into any completed experiment to see the details. You'll find:
- Overall scores: Aggregate metrics across all prompts. A quick health check of model performance.
- Per-prompt breakdown: Drill into individual test cases to see exactly where the model succeeded or struggled.
- Configuration details: What model, dataset and judge were used. Helpful when comparing experiments later.
- Timestamps: When the experiment was created.
Viewing multi-turn results
Multi-turn experiments display results in a chat-style interface that mirrors actual conversation flow. Each turn shows the user message followed by the model's generated response, with color-coded indicators for different speakers.
This format makes it easy to trace how a conversation evolved and identify exactly where the model's performance changed. Bias and toxicity are scored on each assistant turn and shown as one combined score per conversation.
Tracking progress over time
The Experiments tab includes a performance chart that plots your scores across all experiments. This is where patterns emerge: you can see if that prompt tweak actually helped, whether switching models improved quality or if performance has been steadily declining.
Name your experiments descriptively (include the date, model version, or what you changed) so the chart tells a clear story.