API docs ⇒ https://dspy.ai/api/optimizers/MIPROv2/
Requires datasets
- Prompts are optimized using selected few-shot examples and instruction fine-tuning.
- Selects the best examples from the dataset and the best instructions based on evaluation results.
LLM Dependent
- Prompts are generated using evaluation metrics and datasets, with help from an LLM.