Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest Prompt Improvements feature (idea from Singapore) #7

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

DanielSkala
Copy link
Collaborator

As many suggested at the EMNLP conference, it would be "cool" if prompterator could also generate prompt suggestions from the labeled data. Well, now, its closer to reality:

After the user labels some data (80%), the Suggest Prompt Improvements feature kicks in and sends a request to OpenAI with the labeled dataset and original prompt, prompting it to give suggestions for improvements (focusing on the Bad examples).

Apologies for the hardcoded constants and low code quality; if we want, we can turn this into a proper feature of production quality but for now I kept it as a fun, weekend project.

Screenshot 2024-02-11 at 14 02 29 Screenshot 2024-02-11 at 14 02 20

@DanielSkala DanielSkala self-assigned this Feb 11, 2024
@DanielSkala DanielSkala added the enhancement New feature or request label Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant