Master-Prompting with the story of a kid

When Raju(The Kid) was small- Zero shot prompting
So we all know when kids are small, they want toys to buys, chocolates to eat and the good part is that they get whatever they want because they are small and parents bhi taras khaa lete hai. Similarly Zero shot prompting, It does not need any context , we just straight away ask some random question and it gives use the result.
When Raju(kid) grown up a bit- Few-shot prompting
So with time parents of raju realise that we should not easily fulfil all his request, otherwise he will be out of control. So now raju make plans so that his parents get agree to his wishes. this is how few-shot prompting works, we need to give some initial context to get the desired output.
Raju wants a Remote control car- Chain-of-Thought prompting
Now raju comes from a middle class family and he know his parents would never get convince for a remote control car. Now his old techniques are also not working. so know he first plans what he will say to his parents and according to possible reactions what he will say next to convince his parents. That’s how chain of thoughts prompting works that you tell your llm to thought and process in a certain way.
Raju’s Probability - Self-Consistency Prompting
Nows raju grews and his parents wants him to study hard without any distractions. So now raju don’t get all the things he wanted. So Raju thought getting one or two things only would be better that not getting anything. So now raju calculates the probability of everything and request his parents of the thing with highest probability of getting. Self-Consistency prompting works the same way, the results which it gets the most, it returns that.
Raju and Parties- Instruction prompting, Direct Answer Prompting
Now as raju was instructed by his parents to study and not go out, so raju follow their instructions because he knows to get things he wanted to need to follow instructions. Thats how Instruction prompting works, our llm follows some instruction and answers accodingly.
Ab direct answer prompting bhi explain kru kya,,,,,,,,
Raju wants to be a teacher like Hitesh Sir- Persona and role based prompting
Raju starts practising to becomes personality like hitesh sir, talk the way he do, dressing up like him and alot. But is this enough? NO. so What? Raju needs to teach as well. So raju take this role as well, so he started teaching about tech and all to become completely like hitesh sir with his personality and role.
Raju’s Not Yet 18+ (Contextual Prompting,Multimodal Prompting)-
Subscribe to my newsletter
Read articles from Krish Gupta directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
