The pg_embedding extension for Postgres and LangChain introduces a 20x speed improvement for high-dimensional vector similarity searches using the HNSW index. It offers advantages over the IVFFlat indexing used by pgvector, particularly in terms of search speed and accuracy. Benchmark tests show that HNSW provides faster

β€’8m read timeβ€’From neon.tech
Post cover image
Table of contents
Benchmark ResultsWhy is HNSW faster than IVFFlat?Which index should you pick?ConclusionπŸ“š Continue reading

Sort: