Check my levelCoursesProgramsFor teamsPricing
UKSign inSign up
Check my levelCoursesProgramsFor teamsPricingClaude quizPromptsBlogFAQSearchSign upUK
AcademlCoursesPrompt Engineering from ScratchExamples (Few-Shot) and Answer Tone
A prompt made of four parts: role, task, context, formatA language model continues the phrase “Unfortunately,” and picks the next word from three optionsA chat request: reply to the customer, delivery on Thursday, up to 80 words
Course

Prompt Engineering from Scratch

Module 1 · Anatomy of a Good Prompt
01Structure: Role, Task, Context, Format02Examples (Few-Shot) and Answer Tone
Module 2 · Advanced Techniques
03Chain-of-Thought and Step-by-Step Reasoning04System Prompts and Stable Roles
Prompt Engineering from Scratch · Lesson 2

Examples (Few-Shot) and Answer Tone

How a few samples in the prompt help the model match your format and tone more precisely than long explanations.

20 min readUpdated Nov 9, 20262 questions in quizReady prompt included

Why Examples Work

Describing in words what a text should be like is hard. "Write in a friendly but professional tone" means something different to everyone, and the model is no exception. Showing a sample is far more reliable.

Putting a few "situation → finished text" examples into your prompt is called few-shot prompting (Anthropic also calls it multishot). The model spots the pattern in the examples — length, structure, wording, tone — and repeats it on new material. This follows directly from how the model works: it continues text, and the examples show what the continuation should look like.

The rest of this lesson opens after a free sign-up

Sign up with email or Google: the first two lessons of every course stay open for good, and the whole catalog is open for 7 days. No card needed.

Sign up freeOr a trial lesson, no sign-up →
In this lesson
Why Examples WorkExample: Answering Common Customer QuestionsHow to Pick ExamplesTone: How to Describe ItYour Own Style in Five MinutesExerciseKey TakeawaysPracticeReady promptQuiz
CoursesLLM coursesFor teamsPricingFAQBlogAboutPrivacy
© 2026 AcademlDevelopment & promotion —MMIX — Marketing Mix
Get started free