Prompt Library (i.e. Saving Personal Prompts)
Purpose
The User Prompts feature is designed to enhance user efficiency by allowing them to save and reuse frequently used prompts. This feature addresses the issue of time-consuming and repetitive typing of commonly used prompts
Feature Access
This feature is strategically designed to optimise both security and usability within the application. Access to the User Prompts feature is governed by users who have the following roles: chat.admin.all
, admin.space.write
, chat.chat.basic
, chat.chat.unlimited
(the roles are managed via Zitadel).
Key Features
Prompt Management: Users are able to save, retrieve, and manage frequently used prompts easily.
Accessibility: Saved prompts are readily accessible to streamline user interactions.
Initial User Flow
When the user is onboarded to the feature for the first time, there will be no Saved Prompts - to make it easy to add Prompts, there is a Get Started button. Clicking the button will redirect the user to the Configuration panel where he can manage the prompts.
Saving New Prompts
The process to save a new prompt is integrated within the chat interface:
Via Chat Configuration:
User clicks on “Configure”.
User selects “Add Prompt”.
User enters the prompt and assigns a mandatory title to it.
Via Committed Prompt:
Next to a committed prompt in the chat, an Add to my Prompts icon appears. Clicking this icon will allow the user to save the prompt via a modal.
The modal to add a prompt is opened and allows the user to give a name to the prompt and adjust the case is necessary. Clicking add will add the prompt to the library.
Using Saved Prompts
In the main chat interface:
Above the chat input field, a dropdown labeled “My Prompts” is available next to the “Suggestions” dropdown.
If prompts are saved, the “My Prompts” dropdown shows an expanded view by default.
If no prompts are saved, the “Suggestions” dropdown is expanded by default.
Selecting a prompt from “My Prompts” auto-fills the chat input field with the chosen prompt.
Managing Prompts
In the configurations panel on the right the user can manage the saved prompts. Managing the prompts includes view, add, delete and edit actions. Clicking the Save button will save all the changes of the user, and clicking the Discard button will revert the changes.
View Prompts
A list of saved prompts is displayed together with the number of prompts saved.
Add Prompts
An “Add Prompt” button is available for adding new prompts.
Delete Prompts
An “X” icon is displayed on each prompt which allows the user to delete the prompt
After deleting a prompt, the user can choose to undo the deletion.
Edit Prompts
Clicking the title or the description of a saved prompt allows the user to edit the existing text.
Future Improvements
Sharing Functionality: We plan to introduce a feature that allows users to share their saved prompts with others. This functionality will facilitate collaborative efficiency and knowledge sharing about effective prompts.
Author | @Irina Bărbos |
---|
© 2024 Unique AG. All rights reserved. Privacy Policy – Terms of Service