epochs

Learn · Module 08 · Prompting and context · Lesson 3 of 6

Choosing what goes in the context

The context window is the model's whole world for one request. Deciding what to put in it, and where, is most of the engineering.

4 minute read

In short
  • The context window must hold instructions, tools, history, documents and the answer.
  • Reserve room for the answer, then budget the rest by what matters.
  • Put stable parts first, key instructions early, and the question last.

This lesson is part of Pro

The first two lessons of every module are free. Pro opens every lesson and every project.

See Pro plansFrom ₹119 a month. No auto-renewal.