“Welcome to Step 12! In this step, we’ll revisit and expand on the power of using examples to improve AI performance. Including examples in your prompts helps AI understand your expectations, resulting in more accurate, detailed, and relevant outputs. By the end of this step, you’ll master crafting prompts with examples, helping you guide AI to meet your needs every time.”

Why Use Examples in Prompts?

“AI learns better when you show it exactly what you’re looking for. By including examples in your prompts, you can clarify the structure, tone, and type of response you expect. This is especially useful for creating step-by-step guides, templates, or even troubleshooting workflows.”

How Examples Improve AI Outputs

1. Clarify the Format

“Examples define how the response should be structured, making it easier for the AI to follow.”

  • Example Prompt:
    ‘Create a checklist for painting a room. Example:
    Step 1: Prepare the walls (clean, sand, and prime).
    Step 2: Apply painter’s tape to edges.’

Output:

  1. Gather tools: brushes, rollers, and paint.

  2. Prepare the walls (clean, sand, and prime).

  3. Apply painter’s tape to edges and cover floors.

2. Guide the Level of Detail

“By showing the level of detail you expect, you can avoid overly vague or overly complex responses.”

  • Example Prompt:
    ‘Explain how to troubleshoot a leaky faucet. Example:
    Problem: Loose handle.
    Solution: Tighten the screw beneath the handle cap.’

Output:

  • Problem: Worn-out washer.

    • Solution: Turn off the water supply, unscrew the faucet, and replace the washer.

3. Set the Tone or Style

“Examples can also guide the tone or audience of the response, whether it’s technical, conversational, or beginner-friendly.”

  • Example Prompt:
    *‘Explain how to maintain an HVAC system for a homeowner. Example:

    • “Change your air filter every three months to improve efficiency.”’*

Output:

  • “Clean debris around the outdoor unit monthly to ensure proper airflow.”

Steps to Include Examples in Prompts

1. Create a Relevant Example

“Use an example that closely matches the task you’re asking the AI to perform.”

Scenario: Writing a troubleshooting guide for a dishwasher.

  • Example: ‘Problem: Dishwasher won’t drain. Solution: Check for clogs in the drain hose.’

2. Add the Example to Your Prompt

“Embed the example directly into your instructions.”

Prompt:
‘You are an appliance technician. Troubleshoot a dishwasher that isn’t drying dishes. Example:
Problem: Dishwasher won’t drain.
Solution: Check for clogs in the drain hose.’

3. Test and Refine

“Run the prompt and adjust the example or instructions as needed to get the desired output.”

Practice Exercise: Using Examples

Scenario: You’re creating a guide for installing laminate flooring.

  1. Write a basic prompt:

    • ‘How do I install laminate flooring?’

  2. Add an example for clarity:

    • ‘Example: Step 1: Prepare the subfloor by cleaning and leveling it. Step 2: Lay down the underlayment.’

  3. Test the prompt and refine the example to match your needs.

Common Mistakes and Fixes

Mistake 1: Using Irrelevant Examples

  • Problem: The AI generates responses that don’t match your goal.

  • Fix: Ensure the example aligns closely with the task.

Mistake 2: Including Too Many Examples

  • Problem: The AI gets confused or overwhelmed.

  • Fix: Use one or two concise examples to guide the response.

  • Problem: The AI doesn’t understand how the example relates to the request.

  • Fix: Add a connecting phrase like, ‘Follow this format.’

Future-Proofing Your Use of Examples

“As AI tools evolve, they may incorporate richer examples, like images, videos, or interactive diagrams. Practicing with text-based examples now ensures you’re ready to adapt to more advanced capabilities, such as providing photos alongside descriptions to refine AI outputs further.”

Your Progress Tracker

🎉 Congratulations—you’ve completed Step 12! Here’s what you’ve learned:

  • How to use examples to clarify format, tone, and level of detail.

  • Practical techniques for embedding examples into prompts.

  • How to troubleshoot and refine prompts using examples for better outputs.”

Next Steps

“In Step 13, we’ll focus on writing prompts for step-by-step outputs, helping you break down complex tasks into clear, actionable instructions.”

CTA: Continue to Step 13: Writing Prompts for Step-by-Step Outputs.

Keep reading