Learn AI Math

Context

What is Context?

In one sentence: Context is all the information an AI model can see when it answers, such as your message, earlier messages and any documents you give it.

A model does not remember you between chats by default. It only knows what is placed in its context right now. If you add useful details, like your goal or an example, its answers usually get much better. Anything outside the context, it cannot see.

What does Context look like?

If you paste an article into a chat and ask for a summary, the article becomes part of the model's context.

Why does Context matter?

Giving the right context is one of the easiest ways to get better answers from AI.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.