Patterns · Vol. 15

Pattern

Context selection and ordering at production scale

Determine what content goes into the context window and in what order to maximize the model's ability to use it effectively, recognizing that larger context windows have not eliminated the need for this engineering.

Classification — Engineering the contents and position of the context window for production performance.

Full entry

The complete treatment — problem, how it works, when to use it, sources, and examples — lives in the volume below.

Browse the full pattern index or the catalog.