Optimizer Introduction Cookbook
Load Example Notebook
Section titled “Load Example Notebook”| Platform | Launch Link |
|---|---|
| Google Colab (Preferred) | |
| GitHub | View the notebook on GitHub |
What you'll learn
Section titled “What you'll learn”- How to set up Opik Agent Optimizer SDK
- How to setup Opik Cloud (Comet Account) for prompt optimization
- How to use the HotPotQA dataset for multi-hop question answering
- How to define metrics and task configs
- How to run the
FewShotBayesianOptimizerand interpret results - How to visualize optimization runs in the Opik UI
Quick Start
Section titled “Quick Start”- Click the Colab badge above to launch the notebook.
- Follow the step-by-step instructions in the notebook.
- For more details, see the Opik Agent Optimizer documentation.