Closed abaraldo closed 4 months ago
@abaraldo would you be ok if we added a new list of ui.chat_prompt_suggestion
in which each would accept a string value (displayed under the last response) and upon clicking would fire an event for you to consume, append to the chat messages and start generating the answer?
@abaraldo would you be ok if we added a new list of
ui.chat_prompt_suggestion
in which each would accept a string value (displayed under the last response) and upon clicking would fire an event for you to consume, append to the chat messages and start generating the answer?
I think that would be great! I could use that to bring suggestions or options for the user. Will it be possible to have multiple options at the same time?
Will it be possible to have multiple options at the same time
Yes, it's going to be a list.
and upon clicking would fire an event for you to consume, append to the chat messages and start generating the answer
@mturoci just an implementation detail - should appending to messages be done by user after obtaining the event or should it be done automatically with firing the event?
should appending to messages be done by user after obtaining the event or should it be done automatically with firing the event?
Manually by the user.
Buttons as an input format for the chatbot widget
I propose adding a feature that allows users to customize the output of the ui.chatbot widget into a form with interactive buttons. This would enhance the user experience by providing a more interactive and accessible way to navigate the chatbot's responses.
Problem it Solves
Currently, the chatbot widget allows a feedback interaction, but this new feature would be a generalization by having a customizable form with any buttons and options. Sometimes, I would like the input from the user to be a closed answer within limited possibilities.
Suggested Implementation
Potential Benefits