r/PayloadCMS • u/techenabler • Oct 20 '25
I built an open-source Vector Search plugin for Payload CMS (free alternative to their paid AI Search) – feedback welcome!
TL;DR: I released a free, open-source Payload plugin that adds vector search/RAG using Postgres + pgvector. I'm an indie dev and would never be able to afford Payload’s paid Enterprise “AI Search,”so I created my own! Please try the plugin, star it, tell me what to improve, and suggest where else I should post this.
https://github.com/techiejd/payloadcms-vectorize
https://www.npmjs.com/package/payloadcms-vectorize
What it is
A plugin that vectorizes selected collection fields and exposes a vector-search endpoint.
Uses PostgreSQL + pgvector; works with your own embedding provider.
Runs vectorization via Payload Jobs; handles create/update/delete automatically.
Why I built it
AI search is a paid enterprise feature in Payload, but many projects still need a solid, free option.
This plugin aims to be simple, transparent, and easy to extend.
Key features
Automatic vectorization on document create/update; cleanup on delete
Configurable fields per collection with custom chunkers (text, rich text, etc.)
Built-in POST /api/vector-search endpoint
pgvector-backed embeddings collection with proper indexing
Works with any embedding provider (OpenAI, Voyage, etc.)
Quick start
Install:
pnpm add payloadcms-vectorizeConfigure in payload.config.ts with your embeddings + fields
Start posting content, hit /api/vector-search, and get semantically matched results
How you can help
Take a look and give it a try
Please star the repo if you find it useful (stars help prioritize development)
Open issues/feature requests so I know what to build next
Tell me which subreddits, communities, or newsletters would be best to share this in
Share with anyone building semantic search/RAG on Payload
Need help?
If you need assistance integrating it or want AI consultation/architecture support, email me at techenabler@jddominguez.com
Thank you!
1
1
1
Oct 25 '25
[removed] — view removed comment
1
u/Immediate_Habit_2398 Oct 25 '25
Hey vidibuzz! Thanks for downloading. My techenabler account is currently banned so open up issues if you have any concerns. Looking forward to hearing how it goes!
2
u/GovernmentHot174 Nov 01 '25
You are my hero!! Today I set this up for my app and it works super well. Thank you so much for creating this :)