<aside>
Prompt Engineering
Prompt engineering is the practice of crafting effective inputs to get the most accurate, useful, or creative outputs from AI models like ChatGPT, image generators, or coding assistants.
<aside>
In Simple Terms
It’s how you talk to AI to get what you want.
</aside>
</aside>
<aside>
Why It Matters?
AI models respond differently depending on how you phrase things. A well-designed prompt can
- Get more accurate answers
- Trigger creative or analytical thinking
- Help the AI understand complex tasks
- Avoid misunderstandings or incorrect outputs
</aside>
<aside>
Examples of Prompt Engineering
<aside>
Basic prompt
“Write a poem about the moon”
</aside>
<aside>
Engineered prompt
“Write a 5-line rhyming poem about the moon, in the style of Shakespeare, focusing on its mystery and beauty”
</aside>
The second version gives more context and constraints, helping the AI generate a more targeted result
</aside>
<aside>
Techniques
- Role assignment: You are a historian. Explain the causes of WWII.
- Few-shot prompting: Show examples first to guide the AI.
- Zero-shot prompting: Ask directly with no examples.
- Chain-of-thought prompting: Ask the AI to think step-by-step.
- Constraints: Specify tone, length, format, audience, etc.
</aside>
<aside>
Where It’s Used
- Writing & storytelling
- Coding & debugging
- Education & tutoring
- Marketing copy
- Image generation
- Product design and UX
- Research summarization
</aside>
<aside>
✅Topic Completed!
🌟Great work! You’re one step closer to your goal.
Ready to Move On →
</aside>
<aside>
- [ ] I have revised the topic at least once
- [ ] I want to practice more on this topic
- [ ] I have practiced enough and feel confident
- [ ] I need to revisit this topic later
</aside>