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

[Roadmap] Common Prompt Templates #503

Open
5 tasks
joriskalz opened this issue Apr 12, 2024 · 3 comments
Open
5 tasks

[Roadmap] Common Prompt Templates #503

joriskalz opened this issue Apr 12, 2024 · 3 comments
Labels
feature-cool Distinctive features feature-enterprise Professional features for managed installations

Comments

@joriskalz
Copy link
Contributor

joriskalz commented Apr 12, 2024

Why
To streamline user interactions with the language learning model (LLM) in the chat application, users will be able to quickly select from a variety of predefined prompt templates. This feature will facilitate more efficient and standardized interactions with the LLM, enabling users to easily execute complex tasks without manually typing detailed instructions each time.

Description
Introduce a feature in the LLMS chat application that allows users to select prompt templates from a categorized menu. This menu should be conveniently accessible from the chat interface, ideally adjacent to the text input box. The templates will cover various common tasks such as translations, creative writing, summarization, explanations, and more, tailored to instruct the LLM effectively. Users should also have the capability to edit existing templates and add new ones, allowing for customization according to their specific needs.

Requirements

  • User Interface:

    • Implement a user-friendly interface element (e.g., dropdown menu) next to the chat textbox for easy access to prompt templates.
    • Organize the menu by categories (e.g., Translate, Creativity, Writing), with each category expanding to show available templates when selected.
  • Template Management:

    • Select and Use Templates: Enable users to select a prompt template, which will automatically populate the chat textbox with the chosen prompt, ready to be sent to the LLM.
    • Edit and Customize Templates: Provide options for users to edit existing templates to refine or update the prompts, ensuring that the tool remains relevant and useful.
    • Add New Templates and Categories: Allow users to add new templates and categories, enhancing the tool's flexibility and utility.

This enhancement is aimed at making the LLMS platform more user-friendly and efficient, particularly in facilitating complex or repetitive interactions with the LLM.

First idea:

PromptTemplates.mp4
@enricoros
Copy link
Owner

Good feature idea. Some quick feedback:

  • I like the multi-level menu structure
  • expandable menus could have the "Category ..." (Dot dot dot) and even a ">" icon end decorator
  • should there be persona-specific prompts (can recycle the existing "conversation starters" in the personas)? This would look like "YouTube Transcriber... >" whcih opens the menu [extract key points, summarize the video, ..
  • good idea to be able to edit, if not possible, people will immediately ask for it once it drops
  • for custom deployments, the basis tree of prompts should be customizable, so if someone does a legal gpt, they could be common legal and reasoning prompts to better match the audience
  • (future, analytics) would be nice to have ways to measure the prompts so we can prioritize based on what people use
    Great job as always

@enricoros
Copy link
Owner

enricoros commented Apr 12, 2024

One more thought. Take a look at the pmix file, if you want to use instantly replaced variables. This could be relevant to your efforts.

@enricoros enricoros added feature-enterprise Professional features for managed installations feature-cool Distinctive features labels Apr 12, 2024
@enricoros
Copy link
Owner

@joriskalz hi, just curious if you're working on this, it's really a great addition; as always once I see your features I feel the urge to have them :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-cool Distinctive features feature-enterprise Professional features for managed installations
Projects
Status: Requests
Development

No branches or pull requests

2 participants