Skip to content

concepts

Context

Knowledge captured in João Lopes' learning graph.

The input the model receives on a given turn, including the system prompt, conversation history, and tool results from previous turns.

↑ Contents

Definition

Context is everything the model can see when generating a response: the system prompt, conversation history, and tool results accumulated across turns. Each turn adds the model’s response and any tool results to the context for the next turn. Context is distinct from context window — context is what is in the window, context window is the size of the window.

↑ Contents

Source

↑ Contents

Source: OKF Markdown