pgvector
A PostgreSQL extension for storing embeddings and searching them by distance within the same database.
When to Use It
You already use Postgres and want vector retrieval close to the metadata and filters that constrain it.
When to Look Elsewhere
At a larger scale, index build time, filtering and recall can matter more than a single latency result. Measure with representative data before relying on an approximate index.
What to Try First
Store embeddings for a small collection, then build an exact query and a measured approximate query. Compare whether each returns the expected matches when the query also filters by tenant or category.
ShipFoundry for your project
Find the pgvector Updates Worth Shipping
Add pgvector to your project in ShipFoundry. See which releases are worth acting on, why they fit your stack, and what your coding agent should check first.