mrcabbage972/opro_prompt_optimization
Implementing the OPRO paper
This project helps you automatically refine prompts for large language models to improve their performance on specific tasks, like complex math problems. It takes your initial prompt and iteratively optimizes it using an OpenAI API, generating a more effective prompt as output. This is for researchers or practitioners working with large language models who need to achieve higher accuracy for tasks like numerical reasoning.
No commits in the last 6 months.
Use this if you are trying to get the best possible answers from a large language model for tasks like solving grade-school math problems and want an automated way to improve your prompts.
Not ideal if you are looking for a general-purpose prompt engineering tool that doesn't rely on an existing problem dataset for optimization.
Stars
16
Forks
4
Language
Python
License
Apache-2.0
Category
Last pushed
Sep 18, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/mrcabbage972/opro_prompt_optimization"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
linshenkx/prompt-optimizer
一款提示词优化器,助力于编写高质量的提示词
Undertone0809/promptulate
🚀Lightweight Large language model automation and Autonomous Language Agents development...
CTLab-ITMO/CoolPrompt
Automatic Prompt Optimization Framework
microsoft/sammo
A library for prompt engineering and optimization (SAMMO = Structure-aware Multi-Objective...
Eladlev/AutoPrompt
A framework for prompt tuning using Intent-based Prompt Calibration