-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Enhancement: Enhanced Placeholder Configuration in LibreChat Prompt Library #3597
Comments
Thank you for the excellent write up. Thinking out loud here, it's definitely possible even with just text alone, for example, if I wanted a dropdown and a multi-line input: <tone:formal|casual|business casual>
or for multi-line inputs:
{{multi-line:email}} While convenient from a dev perspective, this would be somewhat advanced usage and it may be easier to have interface elements to help create "special" variables. Any help, even landing on a format for variable, would be really helpful. |
Also it may be worthwhile to make those inputs resizable textareas by default |
I think it's a great suggestion. In this case, the backend part will not need to be changed. I'll try to implement this in the frontend and see how it works. I don't know what type of input would be a sensible default, though. |
I have created a PR for this feature: #3618 |
Closing, resolved by #3681 I'm sure we can add more like this, but this is a good start and any others should be scoped to their own issues. |
What features would you like to see added?
What features would you like to see added?
Current Behavior: Currently, placeholders in the Prompt Library are displayed as one-line input fields when using a prompt. The configuration options for these placeholders are limited, and their order on the prompt screen is fixed.
Proposed Behavior: Enhance the placeholder configuration in the Prompt Library to support:
Use Case:
More details
This enhancement would require changes to both the prompt creation interface and the prompt usage interface. The prompt creation process would need to be updated to allow for more detailed placeholder configuration. The prompt usage interface would need to be modified to render different types of input fields based on the placeholder settings.
Which components are impacted by your request?
General, UI
Pictures
For example, the {{original_email}} placeholder would benefit from being a multiline field, and the {{tone}} as a dropdown list.
Code of Conduct
The text was updated successfully, but these errors were encountered: