LaravelPostgreSQLpgvectorRAGPHP
pgvector in Laravel 13: Tenant Filters, HNSW and the Rows That Go Missing
whereVectorSimilarTo() on 100,000 Wikipedia paragraphs in PostgreSQL 18 with pgvector 0.8.7: a tenant filter that loses rows only for the largest teams, paginate() pages that come back empty, and a fix that collides with the similarity threshold. Measured, with the class that fixes all three.
November 11, 202624 min read
Read post