#pgvector
All the articles tagged with "pgvector".
- 31 min read
LangChain Cheat Sheet for Node.js, TypeScript and pgvector
The LangChain.js functions and methods you'll use most, each with a small working example: chat models, prompts, embeddings, PGVectorStore, retrievers, RAG, tools, agents, structured output, memory and streaming.
- 34 min read
Hybrid search with PostgreSQL, pgvector and TypeScript
Keyword search finds the exact word 'iPhone'. Vector search understands 'Apple smartphone'. One Postgres query that runs both and merges the results.
- 26 min read
RAG with LangChain, pgvector and Node.js
Same notes, same Postgres table, same questions as the hand-written version. This time LangChain does the splitting, storing, searching and prompting, still in one TypeScript file.
- 22 min read
RAG from scratch with pgvector, Node.js and TypeScript
No LangChain, no framework. One TypeScript file that turns notes into vectors, stores them in Postgres with pgvector, and answers questions about them.