Tag: rag

3 articles

· rag / pgvector

How to build a RAG pipeline with pgvector and Drizzle ORM

Step-by-step tutorial: store embeddings in Neon Postgres, query with cosine similarity via Drizzle ORM, and wire up GPT-4o for answers — all in TypeScript.

· pgvector / postgres

pgvector index tuning: HNSW vs IVFFlat in production

The defaults under-deliver at scale. Covers which parameters to change, how to measure recall honestly, and when to move to a dedicated vector database.

· postgres / pgvector

How to Set Up Vector Search with pgvector in Postgres

Add semantic search to Postgres with pgvector v0.8.2 — install the extension, create a vector column, generate OpenAI embeddings, and build an HNSW index.