Frontend-only live semantic search with transformers.js. GitHub
Semantic search right in your browser! Calculates the embeddings and cosine similarity
client-side without server-side inferencing.
Your data is private and stays in your browser.
Just copy & paste any text in the text area or load one more PDFs & web pages in the advanced settings and hit Find. Set a different chunk size for
finer or coarser search.
Large books can be indexed too and searched in less than 2 seconds!
Examples:
The Bible (en),
Les Misérables (fr),
Das Kapital (de),
Don Quijote (es),
Divina Commedia (it),
Iliad (gr),
IPCC Report 2023 (en).
Full catalogue with pre-indexed examples on Huggingface.
Contribute the indices of the documents you indexed
or open a request
on GitHub with a source URL.