🎭 Role-play Based Prompts (Act as a...)
AI को instruct करने का एक powerful तरीका है Role-play prompting, जिसे "Act as a..." technique भी कहते हैं। इसमें हम AI को किसी specific role (जैसे doctor, teacher, interviewer, motivational coach आदि) adopt करने के लिए कहते हैं, ताकि उसके जवाब contextually relevant और अधिक practical हों।
✨ Role-play Prompting क्यों Useful है?
- Contextual answers मिलते हैं।
- Creative writing, interview preparation, और simulation tasks के लिए helpful।
- Students को real-world scenarios में practice करने का मौका देता है।
- AI से अधिक natural और structured responses मिलते हैं।
🔹 Example 1: Act as a Teacher
Prompt: Act as a Math teacher. Explain Pythagoras theorem in simple words with example.
✅ Output: "The Pythagoras theorem says that in a right-angled triangle, the square of the hypotenuse = sum of squares of other two sides. Example: If one side is 3, other is 4, then hypotenuse = √(3²+4²)=5."
🔹 Example 2: Act as an Interviewer
Prompt: Act as an interviewer for a software developer role. Ask me 3 questions about data structures.
✅ Output:
1. "Can you explain the difference between stack and queue?"
2. "What is a hash table and how does it work?"
3. "When would you use a linked list instead of an array?"
🔹 Example 3: Act as a Career Counselor
Prompt: Act as a career counselor and guide me whether I should choose Data Science or Web Development after graduation.
✅ Output: "If you enjoy math, statistics, and problem-solving, Data Science may be better. If you like designing user experiences and building applications, Web Development is a great choice."
🔹 Example 4: Act as a Doctor
Prompt: Act as a doctor. A patient is complaining about fever, cough, and sore throat. Give possible causes and advice.
✅ Output: "The symptoms may indicate flu, viral infection, or mild COVID. Recommended: rest, hydration, paracetamol for fever, and if symptoms persist more than 3 days, consult a physician."
🔹 Example 5: Act as a Motivational Coach
Prompt: Act as a motivational coach. Encourage me to stay consistent in my studies.
✅ Output: "Consistency beats talent when talent doesn’t work hard. Even if you study just 1 hour daily, it compounds over time. Stay focused, and remember — progress is better than perfection!"
🔹 Example 6: Act as a Travel Guide
Prompt: Act as a travel guide and suggest me a 3-day itinerary for Goa.
✅ Output:
- Day 1: North Goa beaches (Baga, Calangute), water sports.
- Day 2: Old Goa churches, spice plantation visit.
- Day 3: South Goa relaxation, Palolem beach sunset.
✨ Advanced Example: Role-based Simulation
Prompt: Act as a judge in a debate competition. Topic: "AI is more beneficial than harmful." Give opening remarks and final judgement.
✅ Output: "Opening: Artificial Intelligence has transformed industries by automating tasks and boosting productivity, yet it raises ethical concerns. Final Judgement: AI is more beneficial as long as we regulate its misuse."
📘 Students के लिए Benefits
- Interview preparation और career guidance में helpful।
- Complex concepts को समझने और explain करने की skill develop होती है।
- Language fluency और conversation practice बेहतर होती है।
- Real-world scenarios की simulation से confidence बढ़ता है।
💡 Final Thoughts
Role-play prompting AI interaction को ज्यादा human-like और practical बनाता है। चाहे आप student हों या professional, "Act as a..." prompts का use करके आप अपनी learning और productivity दोनों improve कर सकते हैं।