What is Prompt Engineering? 💬

A "prompt" is the instruction you give to AI. Prompt engineering means learning to write clear, specific instructions that get the best results.

The Secret Formula

Great prompts have these parts:

  1. Role — Tell the AI who to be: "You are a friendly science teacher"
  2. Task — Be specific: "Explain how volcanoes work"
  3. Audience — Who is it for: "for a 10-year-old"
  4. Format — How to answer: "Use bullet points and emojis"

Before vs After

❌ Vague Prompt✅ Clear Prompt
"Tell me about space""Explain 3 fun facts about Mars for a 9-year-old, with emojis"
"Write code""Write a Python function that checks if a number is even, with comments explaining each line"
Prompt Engineering

Practice makes perfect! Try different prompts and see how the results change. You'll become an AI whisperer in no time! 🧙‍♂️