Semantic Search
Retrieve a corpus in natural language
Query and corpus are embedded separately, compared by cosine similarity, and the most relevant passages are returned.
Switch model · 4 Available models · 4 of them ship real browser weightsSamples are shared within a subcategory — switching models keeps your input intact.
Input
SamplesSamples are editable — once you change them they count as custom input.
Corpus
#1
#2
#3
#4
#5
Parameters
Output
hnswlib.jsNo result yetPick a sample or edit the input, then hit “Run inference”.
Model info
hnswlib.js
HNSW ANN index compiled to WebAssembly — used to do semantic search on top of embeddings.
Framework: WebAssemblySize: —License: Apache-2.0
All models
Notes
Computed for real in the browser (canvas pixel ops / STFT spectral processing / vector retrieval).
Switching models only changes weight size, device and backend metadata; samples are shared across every model in the subcategory.
Marked entries really download and load weights on switch (slow the first time, cached afterwards). Unmarked ones ship no browser weights: instant output, nothing downloaded.