pgvector

last updated: Jul 10, 2024

https://github.com/pgvector/pgvector
https://docs.timescale.com/use-timescale/latest/extensions/pgvector/?ref=timescale.com

The pgvector PostgreSQL extension helps you to store and search over machine learning-generated embeddings. It provides different capabilities that allows you to identify both exact and approximate nearest neighbors. It is designed to work seamlessly with other PostgreSQL features, including indexing and querying.

Appears to contain its own hnsw implementation, which is neat.

Also has bindings to a bunch of libraries, even though anything with a postgres driver will work with it.

Timescale has a tutorial on its use.

↑ up