
AI Engineering
How to Build RAG with pgvector and the AI SDK in TypeScript
Build a RAG pipeline in one Postgres database: chunk documents, embed them with the AI SDK, store vectors in pgvector, and retrieve with cosine distance and an HNSW index.
Every post tagged pgvector.

AI Engineering
Build a RAG pipeline in one Postgres database: chunk documents, embed them with the AI SDK, store vectors in pgvector, and retrieve with cosine distance and an HNSW index.