yusufhilmi/client-vector-search
A client side vector search library that can embed, store, search, and cache vectors. Works on the browser and node. It outperforms OpenAI's text-embedding-ada-002 and is way faster than Pinecone and other VectorDBs.
Leverages the Xenova transformers library (gte-small model) for client-side embeddings without server dependencies, and performs vector search via cosine similarity with optional persistence to IndexedDB for caching. Supports both browser and Node.js environments with a straightforward API for indexing, CRUD operations, and similarity search across hundreds to thousands of vectors. Designed for sub-100ms performance on typical use cases with planned HNSW indexing for improved scalability.
229 stars and 2,270 monthly downloads. No commits in the last 6 months. Available on npm.
Stars
229
Forks
15
Language
TypeScript
License
MIT
Category
Last pushed
May 29, 2024
Monthly downloads
2,270
Commits (30d)
0
Dependencies
3
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/yusufhilmi/client-vector-search"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
curiosity-ai/catalyst
🚀 Catalyst is a C# Natural Language Processing library built for speed. Inspired by spaCy's...
Azure/azure-search-vector-samples
A repository of code samples for Vector search capabilities in Azure AI Search.
supabase/embeddings-generator
GitHub Action to generate embeddings from the markdown files in your repository.
vector-ai/vectorai
Vector AI — A platform for building vector based applications. Encode, query and analyse data...
kelindar/search
Go library for embedded vector search and semantic embeddings using llama.cpp