ns-ui

Citation Grounding Hatch

A per-sentence grounding trace under an AI answer: solid where a source backs the claim, a bare hairline where the model is inferring alone, diagonal hatch where a source contradicts it — shape-encoded, never color, with a static legend keying each mark to its meaning and a click-to-raise source panel.

Use when coverage across the whole answer is the question, so a strip below the prose gives every sentence a mark and unsupported or contradicted spans are as visible as grounded ones, shape-encoded (solid bar, bare hairline, diagonal hatch) rather than colored; pick citation-grounding-gap instead when the gaps should be actionable and clicking one should fire a live retrieval, or citation-inline-card when per-claim attribution inside the text flow is all that is needed.

Install

npx shadcn add https://design.helpmarq.com/r/citation-grounding-hatch.json
  • rag
  • trust
  • citation
  • grounding
  • trace
  • chart
  • accessibility
  • ai

Assistant answer / grounding trace

Why did latency improve this quarter?

Cold-start latency dropped sharply this quarter, falling to 210ms from 480ms after the scheduler switched to region-local warm pools. That change alone accounts for most of the improvement teams have noticed in edge response times. Connection pooling was also reworked in v4.2, which removed the old fixed pool-size cap so pools now scale to demand. Idle connections are reclaimed on a 90-second timer rather than being held open indefinitely. Autoscaling now reacts to load essentially instantaneously, closing the gap that used to cause bursty-traffic slowdowns. Together these changes are why p99 latency has been the most stable it has ever been.

GroundedUnsupportedContradicted

3 of 6 sentences grounded, 1 contradiction, 2 unsupported

Props

PropTypeDefaultDescription
sentencesTraceSentence[]
sources?TraceSource[]
streaming?booleantrue while the answer is still arriving — new segments stagger their draw-in to read as a stream catching up
className?string