RAG answer

Grounded-answer surface combining sanitised Markdown, citation badges, a grounding assessment, and expandable source previews.

Knowledge graphs, citations, sources, and retrieval search results.

lr-rag-answer

import '@aceshooting/lyra-ui/components/lr-rag-answer.js';

Read guide (English)

Related components

  • Research progress — Shows host-supplied research steps, source counts, and overall completion progress.
  • Retrieval results — Ranked retrieval-chunk list with deduplication, source grouping, selection, and compact or expanded presentation modes.
  • Retrieval search — Query bar for a retrieval or RAG surface, with filter and scope chips, a vector/keyword/hybrid mode selector, and status feedback.
  • Retrieval trace — Retrieval-pipeline stage timeline with expandable evidence for each rewrite, embed, retrieve, rerank, and filter stage.
  • Source card — Citation entry showing a source's title, page, excerpt, and expandable full text.
  • Source list — Collapsible Sources panel grouping a chat message's citation cards under one header.