Synthetic Data Optimizer Cookbook
Advanced example notebook using syntethic datasets
This example shows how to generate synthetic Q&A data from Opik traces and optimize prompts using the MetaPromptOptimizer. All steps, code, and explanations are provided in the interactive Colab notebook below.
Load Example Notebook
To follow this example, simply open the Colab notebook below. You can run, modify, and experiment with the workflow directly in your browser—no local setup required.
What you’ll learn
- How to extract and clean traces from Opik
- How to generate synthetic Q&A datasets using tinyqabenchmarkpp
- How to upload and manage datasets in Opik
- How to configure and run the MetaPromptOptimizer on synthetic data
- How to interpret and visualize optimization results
Quick Start
- Click the Colab badge above to launch the notebook.
- Follow the notebook’s step-by-step workflow.
- For more details, see the Opik Agent Optimizer documentation.