AI Dictionary › Prompting
In-context learning is a language model's ability to "learn" a task directly from the examples and instructions inside the prompt, with no weight retraining. The model adapts its behaviour using only what it reads at inference time. Example: in the prompt you write "Classify reviews. 'Great product' → positive. 'Slow delivery' → negative. 'The charger is broken' →" and the model completes with "negative," inferring the rule from the two examples. It is the mechanism behind few-shot and one-shot prompting: everything happens within the context window.
Use it when you want to specialise the model on a format or rule without fine-tuning: two to five well-chosen examples in the prompt are enough. Fast, cheap and reusable.
From our network
Magellano GPS: Fleet Tracking Made Simple
Real-time GPS tracking, remote engine lock, fuel and CO₂ reporting for your fleet.
Visit magellanogps.com →From the Agora Intelligence blog
📱 Download the Android app (beta) iOS coming soon
Say what you mean. Get what you need.
Grace Certified, the AI coach that trains and certifies your prompt engineering, by Agora Intelligence.