Lesson 3 of 5 Prompt Engineering 12 min read

Few-Shot and Chain-of-Thought Patterns

RTFC gets you a strong prompt. These two patterns get you a great one β€” by showing the AI examples to copy and asking it to reason before it answers.

πŸ“… June 2025 ⏱ 12 min read By AIGround Course: Prompt Engineering Masterclass

The RTFC framework tells the AI what you want. The two patterns in this lesson go further: they show the AI what good looks like, and they slow it down enough to think. Layer either one on top of an RTFC prompt and quality jumps; layer both and you are operating well above what most people ever get out of these tools.

Multiple examples laid out on a desk β€” few-shot learning concept
Showing AI examples is faster than explaining what you want.

Few-Shot Prompting: Show, Don't Tell

Few-shot means giving the AI one to three examples of what you want before asking for the real thing. The "shots" are the examples. Zero-shot β€” what most people do β€” is describing the task with no examples at all and hoping the description is enough.

Instead of describing the format in words, you demonstrate it. The model is a world-class pattern-matcher, so when it sees two captions in your voice, it infers the length, rhythm, and tone far more accurately than any adjective could convey. You stop explaining and start showing.

This works especially well for tone, length, and structural consistency β€” exactly the things that are painful to describe but easy to demonstrate. Two or three good examples is the sweet spot.

Here are two social captions I've written: Example 1: "Most freelancers undercharge. Not because they're cheap β€” because nobody taught them to read a brief." Example 2: "Your portfolio isn't too small. Your offer is too vague." Now write a caption for "raising your rates" in the same style and length.
Here are two meta descriptions I've approved: [Beginner SEO Guide]: Learn SEO from scratch with a plain-English guide built for total beginners β€” no jargon, just the steps that move rankings. [Local SEO Checklist]: A practical local SEO checklist for small businesses. Rank in your city with 12 fixes you can make this week. Write a meta description for: "Freelance Rate Calculator". Use the same length, tone, and structure.
My best-performing subject lines: - "You're leaving money on the table (here's where)" - "The 2-minute fix for your worst-performing page" - "I reviewed 40 freelance sites. Yours has this problem." Write 5 subject lines for an email about a new pricing guide. Match the style.

Chain-of-Thought: Make AI Think First

Chain-of-thought prompting tells the AI to reason through a problem before it answers. Left to its own devices, a model often blurts a confident first guess; forcing it to work through the steps produces noticeably better judgment.

You trigger it with a single line: "Think through this step by step before giving your final answer," or "First lay out the factors, then weigh them, then recommend." That instruction alone changes the quality of the response on anything with moving parts.

Use it for complex tasks β€” research synthesis, strategic decisions, pricing, anything with multiple factors to balance. For simple generation it just adds noise, so save it for the moments where being right matters more than being fast.

I'm deciding whether to specialise my freelance services in e-commerce SEO or local SEO. Think through the pros and cons of each from a freelancer's income-stability perspective. Consider: market size, competition, client lifetime value, and skill transferability. Then give me your recommendation with reasoning.
I'm considering raising my monthly retainer from Β£1,500 to Β£2,000 for new clients. Think through how this affects: - My positioning in the market - The type of clients I'll attract or lose - My workload at each price point Then tell me whether to make the change.
πŸ’‘

When to Use Which

Use few-shot when you need stylistic consistency β€” tone, format, length. Use chain-of-thought when you need better reasoning β€” decisions, analysis, strategy.

TechniqueBest ForHow to TriggerExample
Few-ShotStyle consistency"Here are examples…"Captions, meta, emails
Chain-of-ThoughtComplex reasoning"Think step by step…"Decisions, analysis
Both combinedHigh-stakes outputsExamples + reasoningProposals, strategies
The Bottom Line

Few-shot teaches AI your style by example. Chain-of-thought teaches AI to reason before answering. Use them together on your most important work.

πŸ“š

Continue Learning

Next in this course: Prompt Templates for Freelance Work β€” 10 ready-to-paste prompts that put all of this to work.

Newsletter

Get New Lessons In Your Inbox

Practical AI tool tutorials. No spam. Unsubscribe anytime.