Document QA Block
Extractive question answering (Xenova/distilbert-base-cased-distilled-squad, grounding corpus context via engine.search topK 1, High/Medium/Low confidence tiers) over its OWN text/PDF corpus, plus Donut (Xenova/donut-base-finetuned-docvqa)

- Library
- LocalMode
- Framework
- React
- Type
- block
- License
- MIT
- Dependencies
- @localmode/core, @localmode/pdfjs, @localmode/react, @localmode/transformers, lucide-react
- Install
npx shadcn add @localmode/ui/ui/blocks/knowledge/document-qa- Files
apps/ui/src/app/blocks/knowledge/document-qa/document-qa.tsxpackages/core/src/index.tspackages/react/src/index.tspackages/transformers/src/index.tsapps/ui/registry/localmode/results/confidence-score-badge/confidence-score-badge.tsxapps/ui/registry/localmode/local-first/model-downloader/model-downloader.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
- Input Components
- React Input Components
- Tailwind CSS Input Components
- Prompt Input Components
- React Prompt Input Components
- Tailwind CSS Prompt Input Components
- Text Components
- React Text Components
- Tailwind CSS Text Components