Posts tagged with "LangChain"

The Hidden Indexing Trap: LangChain-Postgres, pgvector, and Custom Vector Stores

How a 20,000-example few-shot similarity pipeline exposed silent full-table scans in pgvector — and what it took to fix them. Covers missing vector_size, operator class mismatches, HNSW migrations with Alembic, iterative scans, quantization, and production observability.