Currently I only handle and interpolate the references between the return text to the referenced documents. However when the retrieved document is not a QnA (which is a wholesome chunk), but a chunk from a help document, I could get the whole document and I can highlight which chunk section of that document made it to the retrieval. I'd need to design the UX, because even right now the document reference section can be long. Maybe looking for a Streamlit accordion or something.
Currently I only handle and interpolate the references between the return text to the referenced documents. However when the retrieved document is not a QnA (which is a wholesome chunk), but a chunk from a help document, I could get the whole document and I can highlight which chunk section of that document made it to the retrieval. I'd need to design the UX, because even right now the document reference section can be long. Maybe looking for a Streamlit accordion or something.