TapinYour learning

Simple · Memory, the budget, and working toward a goal

The context window is a budget

The context window is everything the model reads for one request. It holds the instructions, the chat so far, any documents, earlier results, and room for the answer. It is measured in tokens, which are small pieces of words. A key fact in the middle of a long pile is missed more often than one at the start or end. A bigger window does not remove that. More to read also takes more time and more money.

Video coming

Example

Milo sends a month of till notes in one request. A till note is the cash register’s note for one day. week 1 read well weeks 2 and 3 the middle: easy to miss week 4 read well The note that egg deliveries moved to Friday sits in week 2.

Try it Yourself

Milo has one key till note in a month of them. Where should it go? Type start, middle or end.

Exercise

Will a bigger context window stop the middle from being missed?

Project: Plan one weekly job at Maple Mart
Project: Wire Maple Mart’s reorder agent, from the tool to the gateway
Project: Make Maple Mart’s order agent production-ready