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

Prompt Templating for Action Buttons #1424

Open
cloudnautique opened this issue Jan 23, 2025 · 0 comments
Open

Prompt Templating for Action Buttons #1424

cloudnautique opened this issue Jan 23, 2025 · 0 comments

Comments

@cloudnautique
Copy link
Contributor

Description

An Action button is currently just a prompt that will be pasted into the chat window and run. This has some utility if it is a question or something simple, but more complex actions require additional information. For example, an action "I'm having computer trouble" leads to the question... "what kind of trouble?". Then if the user says "Monitor trouble" I might want to add additional context to the prompt on what to do with that information.

Updates

  • Admin UI: Admin should be able to provide the "display text" what is currently shown in the admin panel. Provide "Helper Text" that would show up in a text box in the end user UI. They should also be able to give a "System Prompt" that will be passed along to the LLM, but not displayed to the end user of the agent.
  • User UI: Users would see the display text in the action buttons as they do today. When they click on the button, the text field would appear as part of the button. When they submit, the action, helper text, and system prompt would all be sent to the LLM.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant