Skip to main content

Chapter 1: Common Prompt Failures

Why Prompts Fail​

Failure TypeCauseSolution
HallucinationModel invents factsAsk for sources, verify claims
Off-topicVague instructionBe more specific
Wrong formatNo format specifiedInclude format requirements
Too verboseNo length constraintAdd word limits
Wrong toneNo tone guidanceSpecify tone explicitly
IncompleteMissing requirementsUse checklists

Hallucinations​

AI can confidently state incorrect information.

Prevention Strategies​

"If you're uncertain about any facts, explicitly state
your uncertainty level (high/medium/low confidence).

Do not invent statistics or citations. If you don't
have reliable information, say 'I don't have verified
information about this.'"

Off-Topic Responses​

When AI goes in unexpected directions:

Before:
"Write about marketing"

After:
"Write about email marketing specifically for B2B
SaaS companies with $1-10M ARR. Focus only on:
- Subject line optimization
- Send timing
- Segmentation strategies

Do NOT cover: social media, paid ads, or content marketing"

Format Issues​

When output structure doesn't match needs:

"Format your response EXACTLY as follows:

## Summary
[2-3 sentences here]

## Key Points
- Point 1
- Point 2
- Point 3

## Recommendation
[Single sentence]"

Diagnostic Questions​

When a prompt fails, ask:

  1. Was the instruction clear and specific?
  2. Did I provide enough context?
  3. Did I specify the format I wanted?
  4. Did I set appropriate constraints?
  5. Is this task within the model's capabilities?

Key Takeaways​

Summary
  1. Identify the failure type first
  2. Hallucinations: Ask for uncertainty acknowledgment
  3. Off-topic: Be more specific, define scope
  4. Format: Provide exact templates
  5. Iterate based on what went wrong

Next: Iterative Refinement β†’