enricoros / big-AGI

Generative AI suite powered by state-of-the-art models and providing advanced AI/AGI functions. It features AI personas, AGI functions, multi-model chats, text-to-image, voice, response streaming, code highlighting and execution, PDF import, presets for developers, much more. Deploy on-prem or in the cloud.
https://big-agi.com
MIT License
5.64k stars 1.3k forks source link

[Roadmap] Common Prompt Templates #503

Open joriskalz opened 7 months ago

joriskalz commented 7 months ago

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

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:

https://github.com/enricoros/big-AGI/assets/1590910/2e676054-0951-425b-b10b-8b59c30a6fea

enricoros commented 7 months ago

Good feature idea. Some quick feedback:

enricoros commented 7 months ago

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 commented 6 months ago

@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 :)