nitaiaharoni1/vector-storage

Vector Storage is a vector database that enables semantic similarity searches on text documents in the browser's local storage. It uses OpenAI embeddings to convert documents into vectors and allows searching for similar documents based on cosine similarity.

60
/ 100
Established

Persists document vectors and metadata in browser IndexedDB with configurable storage limits, using an LRU eviction policy to automatically remove least-accessed documents when capacity is exceeded. Provides metadata filtering on search results and supports batched document ingestion, with optional debouncing for IndexedDB writes. Integrates with OpenAI's embedding API (configurable model selection) and exposes a straightforward JavaScript API designed for client-side semantic search workflows.

244 stars and 560 monthly downloads. No commits in the last 6 months. Available on npm.

Stale 6m
Maintenance 0 / 25
Adoption 16 / 25
Maturity 25 / 25
Community 19 / 25

How are scores calculated?

Stars

244

Forks

39

Language

TypeScript

License

MIT

Last pushed

Dec 11, 2024

Monthly downloads

560

Commits (30d)

0

Dependencies

2

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/vector-db/nitaiaharoni1/vector-storage"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.