Dev Design Library

Semantic Search Block

Full text/PDF/OCR ingest into its OWN corpus with off/recursive/semantic chunking and a live chunk-boundary preview, then reranked vector search (over-fetch topK×3 → a real cross-encoder from the transformers ONNX group or the wllama GGUF g.

Semantic Search Block preview
Library
LocalMode
Framework
React
Type
block
License
MIT
Dependencies
@localmode/core, @localmode/langchain, @localmode/pdfjs, @localmode/react, @localmode/transformers, @localmode/wllama, lucide-react
Install
npx shadcn add @localmode/ui/ui/blocks/knowledge/semantic-search
Files
  • apps/ui/src/app/blocks/knowledge/semantic-search/semantic-search.tsx
  • packages/core/src/index.ts
  • packages/react/src/index.ts
  • packages/transformers/src/index.ts
  • packages/wllama/src/index.ts
  • apps/ui/registry/localmode/local-first/capability-gate/capability-gate.tsx
  • apps/ui/registry/localmode/data-documents/category-facet-list/category-facet-list.tsx
  • apps/ui/registry/localmode/data-documents/chunk-boundary-visualizer/chunk-boundary-visualizer.tsx
Source
https://github.com/LocalMode-AI/LocalMode

Categories

More from LocalMode