Series: RAG from scratch in Laravel · Part 2

Embeddings in Postgres with pgvector and Eloquent

In short

You do not need a vector database yet. One migration, one scope, and a cosine operator.

The full write-up follows the same pattern as every post here: the setup, what broke, and the numbers afterwards.