Reading up on retrieval-augmented-generation
3 deep · digging since apr 29
- Production RAG: The Chunking, Retrieval, and Evaluation Strategies That Actually Work
Production RAG systems fail with naive fixed-size chunking and top-k retrieval, so the author recommends semantic chunking, hybrid search with BM25, reranking, context expansion, and a rigorous evaluation framework to improve accuracy and reliability.
- How AI Agent Memory Works
An interactive essay explains how agent memory systems work through context windows, embeddings, and retrieval architectures to overcome LLM statelessness.
- Can agents replace the search stack?
Using a basic BM25 or e5 retriever with an LLM agent can achieve 0.289→0.453 NDCG on Amazon ESCI by reasoning over queries, but this approach fails on passage retrieval where the embedding model already knows best.