Skip to content

Feature: refine prompt button #476

@jeremyeder

Description

@jeremyeder

🚀 Feature Description

Describe the solution you'd like
Google suite has a feature where they have a little pencil button next to things like the system prompt input field in Gems or Gmail. You can click it to refine your prompt or email respectively.

💡 Proposed Solution

Detailed Description: How should this feature work?
I want that little button in the web UI to the left of the Send button.

It will

  1. re-write the prompt by sending it to the current model for revision
  2. Allow the user to review the refined prompt
  3. Show hints to the user as to how the model improved this prompt.

User Experience: How will users interact with this feature?

  1. They click it, and it throws a 1-time confirmation modal with a checkbox to not show this in the future. This preference is stored with the user profile.
  2. Once past the confirmation modal, it will send the prompt to the AI service endpoint.
  3. The service will return an optimized prompt. Show colored hints to the user as to how the model improved this prompt.
  4. The user reviews and edits (the popup is a text editing area) the refined prompt.
  5. Once ready, the user clicks submit and it sends the refined prompt to the model.

This refinement loop is completely optional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    amber:auto-fixAmber agent: automated low-risk fixes (formatting, linting)enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions