·
7 min read
Semantic Vector Search via Eloquent with PostgreSQL
Build an Eloquent whereVectorSimilarTo() scope on top of PostgreSQL and pgvector, then use it for document search, recommendations, and agents.
// blog
Thoughts on Laravel, PHP, system architecture, GenAI, and lessons from building products that ship.
Build an Eloquent whereVectorSimilarTo() scope on top of PostgreSQL and pgvector, then use it for document search, recommendations, and agents.
// get in touch
I'll reply within 24 hours.