AI ART Discover · Learn · Create
AI Art > Glossary > In-Context Learning
Browse Full AI Glossary
I AI Glossary Term • Term 103 of 224
Plain English Definition

What does “In-Context Learning” mean?

Core Definition

A model's ability to follow patterns from examples provided directly in the prompt.

Operational Mechanism

How In-Context Learning Works

1

Prompt contains examples of the task

2

Model reads the pattern

3

New input appended

4

Output follows the pattern, no weights change.

Real-World Scenario

Practical Example

You paste three examples of converting messy dates to ISO format and then a fourth messy date. The model returns it correctly formatted, even though it was never retrained for that task.

Core Significance

Why It Matters

It lets non-experts adapt models just by writing prompts. The adaptation lasts only for that conversation.

Expert Q&A

Common Questions About In-Context Learning

Q: Does the model really learn?

Its weights stay unchanged. It uses the examples as context during that request, so nothing is kept afterward.

Q: How is it related to few-shot learning?

Few-shot prompting is the most common way to use in-context learning.

Q: Does it always work?

No. Performance depends on the model, the task, and how clear and relevant the examples are.