Vector Databases Oversimplified
summary
A minimal vector database is implemented as a toy in Python + SQLite with MessagePack for float serialization, exposing two APIs: add(id, vector, metadata) and search(vector, threshold). It uses MinHash LSH (bands and buckets) mapped from a geohash analogy to reduce candidates, then applies exact distance filtering; accuracy trades off for speed and it’s explicitly a nonproduction demo with code published for experimentation.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 2:18Disclaimer
- 3:02Why Vector Databases
- 4:17Vector Databases vs Libraries
- 6:00Use Cases
- 6:35What is an embedding
- 8:07Example of embedding
- 10:06Search algorithms
- 10:25Methods
- 12:11Graphbased Methodologies
- 13:31The mission
- 13:56Goals
- 14:30Hash Based Approach
- 15:58Visualization
- 16:43Geo hashes
- 17:46What is geohash
- 19:16Resolution
- 20:52Search
- 21:23Hashing
- 22:49Querying
- 25:35Query
- 26:11Python Version
