I want to display and activate a button inside the message box. #1901
yominosekai
started this conversation in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, I’m not very good at English, so I’m using ChatGPT for translation.
I’m using Chatbot-UI to vectorize questions and store them in ELKSearch.
If the same question is asked again, I plan to perform a vector search and, if similar past questions are found, display a message in Chatbot-UI like:
"A similar question was asked in the past. Would you like to view it, or use the API to generate a new response?"
with buttons or some kind of selection option.
Currently, I have successfully implemented vector search and result display, but unfortunately, I lack the necessary skills to modify the UI to achieve this functionality, and I’m struggling.
Does anyone know how to modify the UI to display buttons in messages and show a message when a button is clicked?
Thank you in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions