mxngjxa/lshrs
Locality Sensitive Hashing (LSH) based recommendation system. Integrates with Redis and your own database.
Separates vector storage from LSH bucket membership by storing only band signatures in Redis while keeping heavy embeddings in your primary database, enabling memory-efficient scaling. Supports streaming ingestion from PostgreSQL or Parquet with configurable band/row parameters for target similarity thresholds, and exposes dual retrieval modes—fast collision-based top-k or cosine-reranked top-p filtering with optional vector reranking from your data store.
Available on PyPI.
Stars
13
Forks
1
Language
Python
License
MIT
Category
Last pushed
Feb 20, 2026
Monthly downloads
39
Commits (30d)
0
Dependencies
3
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/vector-db/mxngjxa/lshrs"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.