Closed marklysze closed 3 weeks ago
Just to add to this, happy to have the content in the box itself (I could put it in the box after the text
@marklysze โย this is now possible thanks to Custom Response Renderers
Example here: https://docs.nlkit.com/nlux/examples/custom-response-renderers
I hope this matches the feature request. If so, I'll go ahead and close this issue.
Is it possible to add extra elements around the response box?
For me specifically, boxes for each of the sources that I'm getting back in my response would be great to present to the user.
As an example, LangChain's chatbot (chat.langchain.com) shows the sources in a response as separate boxes at the top of the response text, and these can be clicked on to access the source webpages.
I am planning to concatenate the sources to LangChain's response, e.g.: "... response from LLM ... ["Source 1", "Document Name and link"] ["Source 2", "Document Name and link"] "
I can put these as links in the response text, though it would be nice to be able to beautify these boxes with things like thumbnails, titles, and text.