Discover and explore top open-source AI tools and projects—updated daily.
microsoftAgent-driven framework for task-aware prompt optimization
Top 13.2% on SourcePulse
PromptWizard is a framework for optimizing prompts for Large Language Models (LLMs) through a self-evolving, task-aware mechanism. It is designed for researchers and practitioners seeking to improve LLM performance by iteratively refining prompts and in-context examples based on LLM-generated feedback and synthetic data.
How It Works
PromptWizard employs a feedback-driven refinement loop where the LLM itself generates, critiques, and synthesizes new prompts and examples. This process optimizes both instructions and in-context learning examples in tandem, aiming for holistic task performance improvement. It supports generating diverse, task-aware synthetic examples and incorporates self-generated Chain-of-Thought (CoT) steps, combining positive, negative, and synthetic examples for robust prompt evolution.
Quick Start & Requirements
pip install -e . after cloning the repository and setting up a Python virtual environment..env and promptopt_config.yaml..jsonl format with question and answer fields.demos folder and a linked notebook.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
3 weeks ago
1 week
HazyResearch
keirp