Home/Archive

The archive

48 posts
Showing 1–6 of 6 · #rag
Lost in the middle: why long-context models still forget, and how to test itBENCHMARKS

Lost in the middle: why long-context models still forget, and how to test it

Needle tests are easy to pass. Real documents need several facts combined from different places. Here is how to measure long-context recall properly.

MOMira OkaforOct 22 · 6 min
RAG chunking strategies compared: fixed, recursive, structural, semantic and parent-childTESTS

RAG chunking strategies compared: fixed, recursive, structural, semantic and parent-child

How you split documents decides what your retriever can find. Five strategies, their trade-offs, sensible defaults and a method to choose on your own data.

RKRafael KimOct 20 · 6 min
Context windows are not memoryMODELS

Context windows are not memory

A bigger window lets a model read more at once. It does not make it remember, prioritise or forget well. How to design for that difference.

MOMira OkaforOct 09 · 6 min
System prompt templates for production: six copy-ready examplesPROMPTS

System prompt templates for production: six copy-ready examples

Support, extraction, grounded Q&A, code review, summaries and classification. Templates you can adapt, with the failure each line prevents.

JLJonas LindSep 28 · 6 min
Prompting for citations that actually check outPROMPTS

Prompting for citations that actually check out

Source IDs, quote-then-answer, automatic quote checks and a real "not found" path. How to make every claim traceable and verify it in code.

RKRafael KimSep 21 · 6 min
Memory for AI agents: what to store, what to forgetAGENTS

Memory for AI agents: what to store, what to forget

Working, episodic, semantic and procedural memory, and the rules for writing, retrieving, updating and deleting each without creeping users out.

RKRafael KimAug 08 · 6 min

Get the Sunday Diff — every post worth reading, once a week.