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

Make prompts customizable and extensible #5

Open
dkastl opened this issue Jun 5, 2023 · 0 comments
Open

Make prompts customizable and extensible #5

dkastl opened this issue Jun 5, 2023 · 0 comments

Comments

@dkastl
Copy link
Member

dkastl commented Jun 5, 2023

Currently the two prompts for the assistant buttons are hard-coded.
In order to make the assistant plugin customizable and extensible a similar approach as https://github.com/gtt-project/redmine_text_blocks could be chosen.

  1. Select assistant prompts from a dropdown list

Screenshot from 2023-06-05 11-40-44

  1. Select assistant prompts from a button list
  2. Create and manage a list of assistant prompts globally or on a project level

Screenshot from 2023-06-05 11-39-06

GTT Assistant can take a similar approach as the Text Blocks plugin, it may even become an alternative or replacement.

The following information may be filled in for an assistant prompt:

  • name: the name that will also be shown in the dropdown (or as button)
  • type: to specify where the prompt should be placed, for example "button" or "dropdown"
  • prompt (previously text can be a set of "messages", where messages can be assigned a role (either "system", "user", or "assistant"). (Needs to be researched more)
  • context: allows to specify what context should be taken into account, for example "issue description", previous note, all notes, etc.
  • issue statuses: to be inline with the text blocks plugin
  • locale: not sure if we need to be able to limit the prompt to a language

We could even make the use of ChatGPT optional (by adding a checkbox) and then use the prompt in the same way as text blocks are used currently to just provide a template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant