Got a pipeline with **multiple prompts**, like a DSPy program? What's the right way to jointly optimize these prompts?
Introducing MIPRO, a Multi-prompt Instruction Proposal Optimizer.
We integrated MIPRO into DSPy. It can deliver +11% gains over existing DSPy optimizers!
🧵👇
MIPRO takes your Language Program (in DSPy), some training inputs (possibly without labels), and a metric to maximize (for accuracy, you’ll just need labels for final output).
Then it'll propose & validate instructions + examples for all prompts in your system!