Vectorize PostgreSQL Adapter

Stores and searches embeddings in PostgreSQL vector columns for Payload RAG

Community 98 321/wk MIT v1.1.0

Installation

pnpm add @payloadcms-vectorize/pg

About

This adapter lets the vectorize plugin keep embeddings in a PostgreSQL database instead of a separate vector service. Each collection you vectorize gets its chunks stored with vector columns and an approximate nearest-neighbour index, so semantic search and retrieval-augmented generation run against the same database as your content.

You pick the vector size and index tuning per knowledge pool, and the adapter adds the needed columns and indexes to your schema. Search results can be filtered by metadata, and a custom schema name is respected for multi-tenant or dedicated-schema setups.

Package info

Package name
@payloadcms-vectorize/pg
Latest version
1.1.0
Unpacked size
110 kB
License
MIT
Weekly downloads
321
Last publish
Jun 22, 2026

More from techiejd

View profile

Similar adapters

More in Database

Database adapter that runs Payload on SurrealDB through its PostgreSQL-compatible SQL interface

Stores Payload data in a Postgres database, with migrations and read replica support

Vercel Postgres database adapter that stores Payload collections and globals in Postgres

Stores Payload data in Cloudflare D1 SQLite databases from Workers

Stores Payload collections and globals in a MongoDB database

Official SQLite database adapter that stores Payload collections and globals in SQLite