I’m using Pipeline Builder along with AIP logic for PDF chunking and embedding. I’m also leveraging Workshop as an interface to build a chatbot experience. The PDFs involved are technical documents. When a user asks a question, the system responds using semantic search via a KNN object.
My requirement is to display the source PDF links in the chatbot’s response. Additionally, when a user clicks on a link, it should direct them to the exact (or closest possible) section of the document that the model used to generate the answer.
Could anyone advise on how to achieve this? Is there a recommended way to associate semantic search results with specific sections or anchor points in the original PDF?