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

Add roles for Prompt Library #19807

Open
1 task done
ExposedCat opened this issue Oct 27, 2024 · 2 comments
Open
1 task done

Add roles for Prompt Library #19807

ExposedCat opened this issue Oct 27, 2024 · 2 comments
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) enhancement [core label]

Comments

@ExposedCat
Copy link

Check for existing issues

  • Completed

Describe the feature

Prompt Library is an amazing feature and it would be nice to be able to specify a role for each prompt.
This would allow us to make a default System prompt without manual switching it, sending and then switching back to User.

If applicable, add mockups / screenshots to help present your vision of the feature

Same as we have a role switch in AI Panel (You/Assistant/System) a similar button could be added next to the prompt name.

@ExposedCat ExposedCat added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Oct 27, 2024
@notpeter notpeter added ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Oct 29, 2024
@seidtgeist
Copy link

my use case would be a system prompt for stuff like:

  • use metric units
  • address me as cyberlord
  • sometimes, randomly, sing a song

without further context these don't make sense as a user prompt, but they do work as a system prompt.

i see a few options for having this in the prompt library:

  1. setting the role per prompt to one of System, User [or Assitant]
  2. same input modality as the assistant panel: every prompt starts with a (you) role tag but can be changed to system, ammended with multiple conversation turns between roles, etc

@ExposedCat
Copy link
Author

ExposedCat commented Nov 22, 2024

address me as cyberlord

lmao

same input modality as the assistant panel: every prompt starts with a (you) role tag but can be changed to system, ammended with multiple conversation turns between roles, etc

I think you can already do it by clicking on a tag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) enhancement [core label]
Projects
None yet
Development

No branches or pull requests

3 participants