Skip to main content
title: ‘Example: Running an Experiment with Mock Data’ description: ‘This example shows how to create an experiment and run it against a mock dataset.’ Here’s an example of creating an experiment and running it against a mock dataset:
This example demonstrates:
  1. Creating an experiment
  2. Setting up a mock dataset with test queries
  3. Running each query through your workflow
  4. Attaching all traces to the same experiment
  5. Adding evaluators to assess response quality
  6. Proper error handling
By running your workflow against a consistent dataset, you can: