RAG Chat Block
Streaming grounded RAG over its OWN text/PDF corpus — token-by-token answers through the engine-owned generator (granite-4.0-350M) with [n] markers upgraded to hover-card inline citations resolved to retrieved sources (PDF page attribution.

- Library
- LocalMode
- Framework
- React
- Type
- block
- License
- MIT
- Dependencies
- @localmode/core, @localmode/langchain, @localmode/pdfjs, @localmode/react, @localmode/transformers, lucide-react
- Install
npx shadcn add @localmode/ui/ui/blocks/knowledge/rag-chat- Files
apps/ui/src/app/blocks/knowledge/rag-chat/rag-chat.tsxpackages/core/src/index.tspackages/react/src/index.tspackages/transformers/src/index.tsapps/ui/registry/localmode/local-first/model-downloader/model-downloader.tsxapps/ui/registry/localmode/data-documents/chunk-boundary-visualizer/chunk-boundary-visualizer.tsxapps/ui/registry/localmode/data-documents/file-dropzone/file-dropzone.tsxapps/ui/registry/localmode/data-documents/indexed-document-card/indexed-document-card.tsx
- Source
- https://github.com/LocalMode-AI/LocalMode
Categories
- AI Element Components
- React AI Element Components
- Tailwind CSS AI Element Components
- Conversation Components
- React Conversation Components
- Tailwind CSS Conversation Components
- Sources Components
- React Sources Components
- Tailwind CSS Sources Components
- Streaming Text Components
- React Streaming Text Components
- Tailwind CSS Streaming Text Components