mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 21:09:41 -05:00
[GH-ISSUE #22074] feat: Form for refining prompts #35161
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dojje on GitHub (Mar 1, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22074
Check Existing Issues
Verify Feature Scope
Problem Description
When writing a prompt, sometimes I forget to include information critical to the response. This results in me having to retype the prompt with this information included. Sometimes I ask other chatbots on the web to read through my prompt and refine it by asking follow up questions about information I forgot to include.
Desired Solution you'd like
When writing a prompt, you can turn on a mode, let's call it "interactive prompt refinement". An AI model makes follow up questions as a form. Those can be Yes/No, multiple choice or an interactive text box. The user answers the form and then the AI-model writes a proper prompt according to prompting guidelines, such as assigning a role to the chatbot.
Alternatives Considered
I've considered asking an AI chatbot to create follow-up questions all the time, but it's hard to answer them in text and it get's messy when copying and pasting prompts.
Additional Context
Here is an exampel UI which I drew:
I (Gemini) made a demo of this feature with a local llama3:8b model running locally to refine the prompt, then asks an openrouter AI the refined prompt.
@Classic298 commented on GitHub (Mar 1, 2026):
You can already do that with event emitters
https://docs.openwebui.com/features/extensibility/plugin/development/events