Why does AI start overlooking what you told it at the beginning of a long chat? Look at what's on the chef's counter.
Everything the chef is working on right now sits on the counter in front of them: your order, eggs, chopped chives, an omelet in progress. With AI, this is called context. Every message you send and every reply stays on the counter.
The counter is big, but not endless. After a long session it's covered in eggshells, dirty bowls and the first omelet you sent back. The chef struggles to find things and grabs the wrong bowl. Your request "with tomato" from the start is buried somewhere under the pile. And the omelet comes without tomato.
It depends what you're cooking. New dish, clean counter: for a new topic, start a new chat and the chef will be precise again. If you want to keep going with work in progress, ask the AI for a summary and paste it into a new chat. That way only what matters makes it onto the clean counter.
How is this different from memory? The counter gets cleared with every new chat. The notebook where the AI keeps notes about you stays.
The size of the counter is called the context window, and it's measured in tokens, which are roughly chunks of words.