-
Story
-
Resolution: Done
-
Normal
-
None
-
None
Story (Required)
As a user trying to use chatbot I want to see three random user prompts configured by the platform engineers.
How it should work
- Every time that a new AI chat window is drawn (entering the plugin for the first time or clicking new chat), the available space in the chat window should be populated by a random selection from the prompt suggestions below.
- Depending on the space available 1-3 prompt suggestions should be shown (but no more).
- The prompts themselves should be configurable so that the platform engineers can change the content of the prompts to be more specific to their organisation
- Configuring the prompts can be done in the plugin-config.yaml file (changes would require a reboot, that's OK).
Background (Required)
Currently this system prompts are hardcoded, but this feature will allow the platform engineers to configure their own set of prompts based on their organisational needs and users will see three random prompts.
Approach (Required)
<Description of the general technical path on how to achieve the goal of the story. Include details like json schema, class definitions>
Acceptance Criteria (Required)
- The sample prompts are visible and easily accessible on the UI.
- The prompts should be visually consistent with the rest of the prompts in the UI and aligned with the overall Figma design.
- Clicking a sample prompt automatically populates the input field with the predefined prompt text.
- The UI design is consistent with the overall design guidelines.
- The assistant responds to each of the sample prompts.
documentation updates (design docs, release notes etc)
demo needed
SOP required
education module update (Filled by RHDHPAI team only)
R&D label required (Filled by RHDHPAI team only)
Done Checklist
Code is completed, reviewed, documented and checked in
Unit and integration test automation have been delivered and running cleanly in continuous integration/staging/canary environment
Continuous Delivery pipeline(s) is able to proceed with new code included
Customer facing documentation, API docs, design docs etc. are produced/updated, reviewed and published
Acceptance criteria are met
If the Grafana dashboard is updated, ensure the corresponding SOP is updated as well
- links to