use case · practical · nomic-ai/nomic-embed-text-v1.5 · WASM q8 · 137.30 MB

Local multi-prefix document search & zero-shot clustering

Bring your own files. Nomic v1.5 embeds them on your device with the right task prefix for the job — search_document: for retrieval, clustering: for grouping — and you pick how many Matryoshka dimensions your index can afford.

1 · Documents

Show parsed documents
Parsed documents
#TitleText

2 · Task & storage budget

Task (sets the Nomic prefix)
Matryoshka storage budget (re-scores without re-embedding)
Index (float32)–
Index (1-bit)–
vs 768-d float32–
Embed latency–

3 · Results

How it works

Files are parsed in your tab (RFC 4180 CSV, JSON arrays, Markdown sections, blank-line paragraphs), embedded once per prefix in batches of 8 inside a Web Worker, and cached as raw mean vectors. Exports contain exactly the rows you see, with spreadsheet-formula prefixes neutralized.

Show the code — nomic-core.mjs parseDocuments(): .txt/.md/.json/.csv parsing
Show the code — nomic-core.mjs kMeans(): seeded spherical k-means++