Tag: pgvector

5 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.

· vector-database / qdrant

Best Vector Database in 2026: Qdrant, Vectorize, Pinecone

Qdrant for edge and hybrid search, Vectorize for zero-infra Workers deployments, Pinecone for managed simplicity, pgvector for Postgres-native cheapness.

· 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.

· drizzle / postgres

How to Set Up Drizzle ORM with Postgres and pgvector

Set up Drizzle ORM with Postgres 16 and pgvector. Covers the CREATE EXTENSION step most guides skip and the cosine distance pattern that uses the HNSW index.