🎯 පාඩමේ අරමුණු
මේ පාඩම ඉවර වෙද්දී ඔයාට:
- Prompt එකක් මොකක්ද, ඒක important ඇයි කියලා තේරුම් ගන්න පුළුවන් වෙයි
- එකම AI එකට prompt quality එක අනුව wildly different results එන හැටි දකින්න පුළුවන් වෙයි
- Great prompt එකක් හදන elements මොනවාද දැනගන්න පුළුවන් වෙයි
- ඔයාගේම prompts ලියන්න confident feel වෙයි
📖 Prompt එකක් කියන්නේ මොකක්ද?
Basic question එකෙන් පටන් ගමු:
Prompt Definition
Prompt එකක් කියන්නේ AI වෙත ඔයාගේ message එක — ප්රශ්නය, task එක, හෝ request එක.
ඒක හිතන්න AI එක්ක ඔයාගේ conversation starter එක විදියට. මිනිස්සු එක්ක කතා කරනවා වගේම, ඔයා අහන්නේ WHAT ද කියන එක තරමටම HOW ද කියන එකත් important.
┌─────────────────────────────────────────────────────────┐
│ THE PROMPT FLOW │
├─────────────────────────────────────────────────────────┤
│ │
│ ┌───────────┐ ┌───────────┐ │
│ │ ඔයා │ ───▶ │ AI │ │
│ │ (Prompt) │ │(Response) │ │
│ └───────────┘ └───────────┘ │
│ │
│ "Create a "Here's a basic │
│ button" gray button..." │
│ │
└─────────────────────────────────────────────────────────┘
🎭 එකම AI, වෙනස් Results
ඔයා AI ගැන හිතන විදිය වෙනස් කරන key insight එක මෙන්න:
එකම AI tool එකට ඔයා prompt එක ලියන විදිය අනුව wildly different results එන්න පුළුවන්.
Action එකේදී බලමු:
📊 Prompt Quality Spectrum එක
හැම prompts එකම equal නැහැ. ඒවා spectrum එකක exist කරනවා terrible ඉඳන් excellent දක්වා:
Level 1: ❌ Bad (Vague)
Make an app
Result: ඔයාට ඕන මොකක්ද AI ට idea නැහැ. Generic, useless output ලැබෙයි.
Level 2: 😐 Okay (Basic)
Make a todo list app
Result: Better, but AI wrong technology, styling, හෝ features choose කරන්න පුළුවන්.
Level 3: ✅ Good (Specific)
Create a todo list using HTML, CSS, and JavaScript. Include:
- Add new tasks
- Mark tasks complete
- Delete tasks
Result: AI task එක clearly තේරුම් ගන්නවා. Output functional වෙයි.
Level 4: 🌟 Great (Professional)
You are a senior frontend developer.
Create a minimal, elegant todo list using HTML, CSS, and vanilla JavaScript.
Features:
- Add new tasks by typing and pressing Enter
- Mark tasks complete with a checkbox
- Delete tasks with an X button
- Show remaining task count at bottom
Style: Clean, modern, mobile-friendly with a blue accent color.
Result: AI professional-quality code deliver කරයි requirements හැමටම meet වෙලා.
🎨 Great Prompt එකක් හදන්නේ කොහොමද?
Great prompts typically මේ elements include කරනවා:
Great Prompts වල Elements 5
| Element | Purpose | Example |
|---|---|---|
| Role | AI කවුද වෙන්න ඕනේ? | "You are a senior developer" |
| Task | මොකද කරන්න ඕනේ? | "Create a navigation bar" |
| Technology | මොන tools? | "Using HTML and CSS" |
| Features | මොන details? | "Include links to Home, About, Contact" |
| Style | පෙනෙන්න/දැනෙන්න ඕනේ කොහොමද? | "Clean, modern, mobile-friendly" |
Formula එක:
[Role] + [Task] + [Technology] + [Features] + [Style] = Great Prompt
🔬 Live Demo: Rounds තුනක්
Prompt එකක evolution බලමු:
Round 1: Vague
Likely Result: Basic gray button එකක් style හෝ functionality නැතුව.
Round 2: Better
Likely Result: Blue button එකක්, but probably basic styling.
Round 3: Professional
💡 Tips:
- • Role specify කළා
- • හැම detail එකක්ම define කළා
- • Hover state include කළා
- • Professional result guaranteed
Result: ඔයා specify කළ exactly ඒක, every time.
🧠 Key Insight
Prompting Truth එක
Better prompts = Better results = Less time wasted
Good prompt එකක් craft කරන්න ඔයා spend කරන time ALWAYS bad result එකක් fix කරන්න spend කරන time ට වඩා අඩුයි.
මෙහෙම හිතන්න:
- Bad prompt: ලියන්න seconds 10 → problems fix කරන්න minutes 30
- Good prompt: ලියන්න minutes 2 → First time ම correctly work කරනවා
🤖 Prompt Evaluator එක Try කරන්න
Prompts ලියන්න practice කරලා instant AI feedback ගන්න:
🤖 AI Prompt Evaluator
Powered by Gemini✨ Quick Exercise
මේක දැන්ම ඔයාගේ phone එකේ try කරන්න:
✅ Prompt Improvement Exercise
0/4✅ පාඩමේ සාරාංශය
Key Takeaways
- Prompt එකක් යනු AI වෙත ඔයාගේ message — ඔයා අහන්නේ කොහොමද කියන එක, මොකක්ද කියන එක තරමටම important
- එකම AI, වෙනස් results — prompt quality directly output quality affect කරනවා
- Great prompts include කරන්නේ: Role, Task, Technology, Features, Style
- Time investment pay off වෙනවා — Crafting වලට minutes 2 fixing වලට minutes 30 save කරනවා
📝 Mini Quiz
📝 ඔයාගේ Understanding Check කරන්න
1/3What is a prompt?