← all repositories

lanterndata/lantern

A PostgreSQL extension that adds HNSW-indexed vector columns for high-speed approximate nearest-neighbor search and embedding storage.

884 stars Rust RAG · SearchData Tooling
lantern
Velocity · 7d
+0.8
★ / day
Trend
steady
star history

Lantern extends PostgreSQL with dedicated vector data types and the lantern_hnsw index, enabling fast approximate nearest-neighbor queries over embedding vectors. It builds on the usearch HNSW implementation and can generate embeddings directly in the database. The extension exposes SQL functions for inserting vectors, running ordered-by-distance queries, and managing the vector index, allowing developers to build RAG pipelines and semantic search features entirely within Postgres.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.