AI Basics Beginner

What Is Context?

Context is the recent information an AI can see and use to answer you.

Part of the AI Basics path ยท Step 7 of 12

Download the poster

Context means the information the AI can currently see and use right now, like the recent words, instructions, and examples in the conversation.

How does it work? You ask something, more words get added, the AI looks at the recent conversation, and it answers using those clues.

What can be in context? Your question, earlier messages, a short story, instructions, examples, and even uploaded notes or images.

What happens without enough context? The AI gets stuck. Who is "he"? What does "that" mean? Without the clues, it cannot give a helpful answer.

Here is a kid example. With context: "Sam has a red ball. What color is it?" The AI uses the context to answer, "Red!" Without context: you just ask "What color is it?" and the AI is confused, it does not have the clue it needs.

How do we use context wisely? Give clear details, include the important info, remind the AI what the topic is, ask follow-up questions, and double-check important facts.

Remember: context gives clues, more clear clues make better answers, the AI can only use what it has, and important facts should still be checked.

What to remember

  • Context is what the AI can see right now in the conversation.
  • It includes your recent words, instructions, and examples.
  • More clear clues mean better answers.
  • Without enough context, the AI can get confused.

Words to know

Context
The recent information the AI can see and use.
Clue
A detail that helps the AI answer.
Conversation
The back-and-forth the AI remembers.
Follow-up
A next question that adds more context.

For grown-ups

Context is the information available to a model at inference time, the prompt plus recent conversation, instructions, and any provided documents, bounded by a finite 'context window.' Models can only reason over what is in context, so clear, relevant detail improves answers, while missing context causes confusion or guesses.

Want the full story? These go deeper: