SurfSense icon indicating copy to clipboard operation
SurfSense copied to clipboard

Enable Clickable References in RAG Answers with Jump-to-Source and Highlight

Open cubxxw opened this issue 7 months ago • 1 comments

I'd like to propose a feature enhancement for our RAG (Retrieval-Augmented Generation) system to improve the user experience when navigating cited sources.

🧠 Problem: Currently, when a RAG-generated answer includes referenced content, users cannot easily jump to the original source or locate the exact passage being quoted.

🎯 Feature Request: Make each reference in the answer clickable, so that:

  1. Clicking on a reference scrolls the user to the corresponding chunk/paragraph in the original source.
  2. The referenced chunk is highlighted on the page for better visibility.

cubxxw avatar May 09 '25 08:05 cubxxw

Hey @cubxxw This is nice suggestion. This should be good UI change. Citations can still be improved and I was going to work on it soon. I will pick this up when I do rework on citations.

MODSetter avatar May 09 '25 18:05 MODSetter

Picking this up

Utkarsh-Patel-13 avatar Jul 27 '25 16:07 Utkarsh-Patel-13