microsoft/PromptWizard
A self-evolving prompt optimization framework where LLMs generate, critique, and refine their own prompts and examples through iterative feedback.

PromptWizard is a discrete prompt optimization framework developed by Microsoft Research. It employs a self-evolving mechanism where an LLM autonomously generates, critiques, and refines its own prompts and examples through iterative feedback and synthesis. The framework optimizes both instructions and in-context learning examples in tandem, producing task-aware, diverse synthetic examples and self-generated Chain of Thought steps for improved task performance.