-
Story
-
Resolution: Done
-
Normal
-
None
-
None
Story (Required)
As a user, I want to provide the feedback for given response. Users can like/dislike and add additional comment.
Background (Required)
Road-core service provides a feedback-status and feedback API to query the status of the feedback mechanism (enabled or not) and to record the feedback provided by the user respectively.
Out of Scope
Users able to opt in or opt out feedback mechanism.
Approach (Required)
Use the feedback-status API endpoint to feature flag the feedback controls in the UI. Show the feedback controls only when the feedback mechanism is enabled.
Show like/dislike and Copy button and clicking on like/dislike button should present additional form to record comment from the users.
Dependencies
Road-core services
Patternfly chatbot
Acceptance Criteria (Required)
- User make a query to ask question on the Lightspeed plugin
- The chat provides the response to the question
- Users can provide feedback on the UI (if the user selected to op-in to the feedback) to each chat response to indicate the correctness of the response in one of the following responses:
- Thumbs up - user is satisfied with the response
- Thumbs down - user is not satisfied with the response
- Allow user to comment on the unsatisfied response to help us to improve the support in the future
- The feedback is collected and send back to our server for data collection and data analysis
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