Three mistakes I made building a production-grade RAG pipeline in TypeScript with pgvector — fixed-size chunking, pure vector search, and small-model tool calling — and what I replaced them with.
What I Got Wrong Building a RAG Pipeline from Scratch in TypeScript