Author: leviturner

Introduction Every time a music app queues up a song you turn out to love, or a shopping site shows a product matching one you just viewed, a nearest neighbour search has done the heavy lifting. Software represents songs, products, photos and sentences as vectors — lists of numbers called embeddings — and 'most similar' means the vectors closest to it. With millions of vectors, checking every one is far too slow. That is the problem Hnswlib was built to solve: it finds near-exact neighbours in milliseconds by searching a cleverly organised graph, not the whole dataset. What Is Hnswlib?…

Read More