← Table of Contents · Page 205 of 868

CONTEXT CONSTRUCTION (THE CONTEXT BUILDER)

Part 1 of 12

LEARNING GOALS You now know that context is scarce and that it can go bad. In this chapter you learn how to build context well. You will learn what system reminders are, how to assemble a system prompt from modular pieces, how to choose which past messages, files, and tool outputs to include, and how to order and format everything for the best results. By the end, you should be able to sketch a context builder for a simple agent.
Advertisement
Read Aloud:
0:00 / 0:00