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.
Frequently asked
- What is microsoft/PromptWizard?
- A self-evolving prompt optimization framework where LLMs generate, critique, and refine their own prompts and examples through iterative feedback.
- Is PromptWizard open source?
- Yes — microsoft/PromptWizard is open source, released under the MIT license.
- What language is PromptWizard written in?
- microsoft/PromptWizard is primarily written in Python.
- How popular is PromptWizard?
- microsoft/PromptWizard has 3.9k stars on GitHub.
- Where can I find PromptWizard?
- microsoft/PromptWizard is on GitHub at https://github.com/microsoft/PromptWizard.