Some projects benefit from running two or more optimizers back-to-back. For example, use MetaPrompt to improve wording, then Parameter optimizer to fine-tune sampling settings. This guide explains why you might chain runs, the trade-offs, and the APIs you use to pass prompts and metadata between stages.
validation_dataset in the first stage, use the same split in subsequent stages to ensure fair comparison and avoid overfitting.experiment_config={"pipeline": "hierarchical_then_param"}) so dashboards show lineage.n_samples and increase once results look promising.OptimizationResult, so you can pass result.prompt (and result.details, result.history) directly into the next stage without rebuilding state.final_result.history.