Understanding 🖥️ System Prompts and 👨‍💻Prompting Techniques: A Complete Guide in Hinglish

Kalyan GuptaKalyan Gupta
7 min read

Yaar, AI tools like ChatGPT and Claude have become as common as WhatsApp in our daily work routine. But most of us are using them like we're still in the Nokia 3310 era - basic texts and hoping for the best! Today, let's decode the art of prompting and learn how to get the most out of these AI assistants.

What are System Prompts?

System prompt is basically like giving proper instructions to your new intern. You know how when someone joins your team, you explain the company culture, work style, and expectations? That's exactly what system prompts do for AI.

Simple Example:

System Prompt: "You are a helpful coding mentor. Explain concepts in simple language, 
use practical examples, and when explaining algorithms, relate them to everyday 
situations like managing a queue at a railway station or organizing books in a library."

With this setup, your AI will consistently give you responses that make sense and connect with real-world scenarios we all understand.

Why System Prompts Matter

1. Consistency Milta Hai

Without proper instructions, AI responses are like Mumbai weather - unpredictable! Sometimes formal, sometimes casual. System prompts ensure you get the same quality every time.

2. Role Define Kar Sakte Hain

You can make AI act as anyone - a senior developer, a patient teacher, a business consultant, or even that friend who always gives solid advice over chai.

3. Context Samjhata Hai

AI ko pata chal jata hai ki audience kaun hai, purpose kya hai, and accordingly it tailors responses.

4. Better Quality Responses

Well-written prompts = better outputs. It's that simple.

Types of Prompting Techniques

Chalo, different prompting techniques dekhte hain:

1. Zero-Shot Prompting

Bilkul seedha sawal puchna - no examples, no context. Just ask and hope for the best!

Example:

Prompt: "Convert 25 degrees Celsius to Fahrenheit"
AI Response: "77 degrees Fahrenheit"

Kab use karein: Simple, straightforward tasks ke liye perfect hai.

Best for: Calculations, translations, general knowledge questions.

2. Few-Shot Prompting

Thoda sa pattern dikhana before asking the main question. Like showing someone 2-3 examples and then asking them to follow the same style.

Example:

Prompt: "Format these sentences properly:
Input: 'main market ja raha hun'
Output: 'I am going to the market'

Input: 'yeh book bahut interesting hai'  
Output: 'This book is very interesting'

Input: 'kal meeting hai office mein'
Output: ???"

AI Response: "Tomorrow there's a meeting in the office"

Kab use karein: Jab specific format ya style chahiye.

Best for: Creative tasks, formatting, maintaining consistency.

3. Chain-of-Thought (CoT) Prompting

Step-by-step sochne ke liye encourage karna. Just like how your math teacher never accepted "seedha answer" - process bhi dikhana padta tha!

Example:

Prompt: "Solve this step by step: A software engineer earns ₹8 lakhs annually. 
If he spends 30% on rent, 20% on food, 15% on transport, how much does he save monthly?"

AI Response: 
"Let me break this down:
Step 1: Annual salary = ₹8,00,000
Step 2: Monthly salary = ₹8,00,000 ÷ 12 = ₹66,667
Step 3: Total expenses = 30% + 20% + 15% = 65%
Step 4: Savings percentage = 100% - 65% = 35%
Step 5: Monthly savings = 35% of ₹66,667 = ₹23,333"

Kab use karein: Complex problems, calculations, logical reasoning ke liye.

Best for: Math problems, debugging code, analysis tasks.

4. Few-Shot Chain-of-Thought

Ye combination hai - examples bhi do aur step-by-step thinking bhi dikhao.

Example:

Prompt: "Solve showing your working:

Q: Local shop mein samosa ₹10 each. Agar main 15 samose buy karu, kitna paisa lagega?
Working: Rate = ₹10 per samosa, Quantity = 15, Total = 10 × 15 = ₹150

Q: Coding bootcamp fees ₹50,000 for 6 months. Per month kitna?
Working: ???"

Kab use karein: When you want to teach AI your problem-solving style.

Best for: Educational content, structured analysis.

5. Self-Consistency Prompting

Same problem ko multiple ways mein solve karke most consistent answer choose karna.

Example:

Prompt: "Calculate this in three different ways: A class has 60 students. 
40% boys, 35% girls. How many others?"

Method 1: 60 - (40% of 60) - (35% of 60) = 60 - 24 - 21 = 15
Method 2: Others = 100% - 40% - 35% = 25% of 60 = 15  
Method 3: Remaining percentage = 25%, students = 60 × 0.25 = 15

Answer: 15 students

Kab use karein: Important calculations ya critical decisions ke liye.

Best for: Financial planning, business calculations.

6. Instruction Following with Examples

Clear instructions plus good/bad examples dena.

Example:

Prompt: "Write product descriptions for e-commerce. Follow these rules:

✅ Good: 'Premium Basmati Rice - Aged 2 years for perfect aroma. Ideal for biryani 
and pulao. 5kg family pack, serves 20-25 people.'

❌ Bad: 'Good rice' (too short, no details)

Now describe: Organic Coconut Oil, 500ml"

Practical Examples for Daily Use

1. Code Review Assistant

System Prompt: "You're a senior developer doing code review. Check for bugs, 
suggest improvements, and explain your reasoning clearly. Focus on readability, 
performance, and best practices."

2. Content Writing Helper

System Prompt: "You're a content writer for tech blogs. Write in conversational 
tone, use simple language, include practical examples, and break complex topics 
into digestible parts."

3. Business Analysis Assistant

System Prompt: "You're a business analyst. When analyzing problems, consider 
practical constraints, provide data-backed suggestions, and present solutions 
in order of feasibility."

Common Galtiyan and How to Avoid Them

1. Bahut Vague Prompt

❌ "Help with coding" ✅ "Help me optimize this Python function that processes large CSV files"

2. Overcomplicating Simple Tasks

❌ Using few-shot for basic math ✅ Zero-shot for straightforward questions

3. Context Missing

❌ Not mentioning skill level (beginner/expert) ✅ "Explain like I'm learning React for the first time"

4. One-shot Wonder

❌ First attempt mein hi expect karna perfect answer ✅ Iterate and improve your prompts

Pro Tips for Better Prompting

1. Specific Role Definition

Instead of: "You are helpful"
Try: "You're a Python expert with Flask/Django experience, helping junior developers"

2. Define Your Audience

"Target audience: Final year CS students who know basic programming but are new to web development"

3. Set the Right Tone

"Be encouraging and patient. Use analogies from daily life. If something is complex, 
break it down step by step."

4. Specify Output Format

"Structure responses as:
1. Quick summary
2. Step-by-step explanation  
3. Practical example
4. Common mistakes to avoid"

Real-World Use Cases

For Students

  • Assignment Help: "Act as a study buddy. Help me understand concepts, don't just give answers"

  • Interview Prep: "You're an interviewer. Ask me technical questions and provide feedback"

For Professionals

  • Code Debugging: "Review this code like a senior developer. Point out issues and suggest fixes"

  • Documentation: "Help me write clear, beginner-friendly documentation"

For Content Creators

  • Blog Writing: "Help me write engaging tech content that's easy to understand"

  • Social Media: "Create LinkedIn posts about tech trends in conversational tone"

Advanced Techniques

1. Prompt Chaining

Break complex tasks into smaller prompts and chain them together.

2. Temperature Control

For creative tasks, ask for "creative and varied responses." For factual tasks, ask for "precise and consistent answers."

3. Negative Prompting

Tell AI what NOT to do: "Don't use technical jargon, don't give theoretical explanations, focus on practical implementation."

Measuring Success

Good prompts result in:

  • Consistent quality across responses

  • Relevant and useful outputs

  • Time saved in back-and-forth clarifications

  • Responses that match your exact needs

Conclusion

Prompting is like cooking - basic recipe toh same hai, but masala and technique se final dish ka taste decide hota hai. Start with simple prompts, experiment with different techniques, and gradually build your prompting skills.

Remember, AI is just a tool. The real magic happens when you combine it with your creativity and problem-solving skills. So go ahead, try these techniques, and transform your AI interactions from basic chat to powerful problem-solving sessions!

Happy Prompting! 🚀

0
Subscribe to my newsletter

Read articles from Kalyan Gupta directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Kalyan Gupta
Kalyan Gupta