#Accordion UI component
1 messages · Page 1 of 1 (latest)
You mean the bubble that contains the user reply?
Right now I have a bot replying to the user's query and then show the references (document sources + small text extracted from each source to back up the answer) in a separate bubble (or attach to the same bubble with the reply). For multiple references, this becomes a large text, which the user might not even be interested in reading. With an accordion, I could just hide it and the user decides to expand it.
Or alternatively, show a "Show sources" button and on-click show the sources. The problem is that the button will block the flow of conversation if not clicked