Closed nlarew closed 1 week ago
when i pull the PR and run the code, i no longer see any links. both for generated and verified answers. any ideas what's going on here?
general observation on the UX:
there's a lot of truncation of titles, and it's not clear where exactly the sources are coming from.
for example the middle 2 links here:
i think it'd be beneficial to have some way to show more info. few ideas:
also could be good to have the "data source" name in there, like google does, for example how it says "MongoDB Manual v7.0" after the article title:
Jira: (EAI-317) [UI] Rich Links in Chatbot
Changes
MessageData.references
as markdown & appended to the end of theMessageData.content
MessageData.references
separately fromMessageData.content
inside ofMessage.tsx
. Instead of appending the links as markdown, we pass them to the@lg-chat/message
component via the newlinks
prop.