Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bhl
· 2y ago · 0 comments
What library do you use to compute embedding right now? I'm wondering if it's possible to do both embedding and vector search client-side for a local-first app.
Comments
[–]
cxcorp
2y ago
I think Transformers.js can do that client-side, e.g. see the documentation for calculating embeddings with Sentence Transformers models:
https://huggingface.co/docs/transformers.js/api/pipelines#mo...