Posts tagged #rag.
All 7 posts tagged with "rag", newest first.
Context Engineering: Storage, Retrieval, and the New Memory Stack
Agents need more than a vector database. A tour of the memory stack production agents actually use — working, short-term, long-term, semantic, episodic — and the infrastructure behind each.
Securing RAG Pipelines: Prompt Injection via Data
Classic prompt injection targets the user input. Indirect prompt injection — through retrieved documents, scraped content, or tool output — is the bigger threat for RAG. How to defend.
Hybrid Search in Production: BM25 + Dense Retrieval
BM25 + dense retrieval outperforms either alone. Production-ready hybrid search with postgres, reranking, and when to use each approach.
pgvector at Scale: When Postgres Is Enough
pgvector gets faster every release and now handles workloads that used to require a dedicated vector database. When to stick with Postgres, when to graduate, and how to tune either way.
LangChain vs LlamaIndex: Which Framework for Building AI Agents?
A comprehensive comparison of LangChain and LlamaIndex for AI agent development, covering architecture, data handling, agent capabilities, and when to use each framework
Build a RAG Agent with LangChain: Complete Tutorial
Build a Retrieval-Augmented Generation agent with LangChain in Python. Embeddings, vector store, retriever, and answer generation with full code.
Choosing a Vector Database in 2024: A Practical Guide
Pinecone, Qdrant, Weaviate, Milvus, pgvector, and the newer entrants — a working engineer's comparison across latency, recall, cost, and operational complexity. How to pick without regret.