Experiment · LAB-004

Citation Highlight Reader

Highlight the exact source sentences next to an AI answer, so anyone can check at a glance whether the answer is actually backed up.

Unstable
Citation Highlight Reader
Status
Unstable
Created
Sep 20, 2026
Updated
Oct 30, 2026
ID
LAB-004
  • React
  • pgvector
  • TypeScript

Where it came from

Answers in the knowledge base assistant come with citation numbers, but users said opening a citation and hunting for the sentence on a full page was tiring.

What it is

Source on the left, answer on the right. Each citation number in the answer is linked by a thin line to the highlighted sentence in the source.

There's also a "match threshold" slider for our own tuning: lower it and more related sentences show up, but so do irrelevant ones.

Current problems

  • Line breaks from PDF-to-text are messy, so highlights sometimes drift;
  • With more than five citations, the lines get tangled.

> The cat is not responsible for unexpected behaviour.