patternfly / virtual-assistant

This repo contains the code for the PatternFly virtual assistant extension
MIT License
0 stars 18 forks source link

Data Streaming - Visual Cue Element #200

Open asuwebdesign opened 1 week ago

asuwebdesign commented 1 week ago

When consumers configure their AI models to use data streaming (vs waiting for the entire response), the chatbot should provide a visual cue element that trails the incoming response, as it renders.

State [Initial / Waiting]: Bot response container will render and display the processing visual element (animated 3 dots) while the UI waits for data to be streamed.

State [Data streaming]: Once data is streaming in and being rendered, display the visual element (blue cursor) at the end of the incoming response. Data will likely be streamed word by word.

State [Data streaming complete] Once data has finished streaming and the complete response has been rendered, the visual element (blue cursor) will disappear. Also, if the response has been configured to display the quick actions (row of icons), it can appear after the data has finished streaming.

Example design: Image

rebeccaalpert commented 1 week ago