BooleanIQ / Learn

AI from the ground up / Level 200 / LESSON 202

Show, don't tell: examples and context in a prompt

Zero, one and few examples; what context changes

DoCore path

About 10 min read · Hindi and English

The video is not out yet. You can read this lesson now.

Asked for her style, got everyone's

Rekha sells achaar. She asked an AI to write in her style, and got something anyone could have written. So how does an AI learn anyone's style? The answer: less from describing it, more from showing it. Three old achaar descriptions Rekha wrote herself, pasted in exactly as they are.

हिन्दी में पढ़ें

रेखा अचार बेचती है। उसने ए आई से अपने अंदाज़ में लिखवाया, पर जो आया, वो कोई भी लिख सकता था। तो ए आई किसी का अंदाज़ सीखता कैसे है? जवाब है: समझाने से कम, दिखाने से ज़्यादा। रेखा के अपने लिखे, अचार के तीन पुराने डिस्क्रिप्शन, बिना बदले सीधे चिपका दीजिए।

What you will be able to do

I'm BSK. Today's points come from the AI makers' own guides and a few research papers. By the end you will be able to say how an AI learns a style, and when it learns the wrong thing. Three parts today: showing instead of describing, what the AI picks up from a sample, and what to paste. Already give samples? The middle part is for you: the one sample that can spoil every answer.

हिन्दी में पढ़ें

मैं बी एस के। आज की बातें ए आई कंपनियों की गाइड्स और कुछ रिसर्च पेपर्स से हैं। आख़िर तक आप बता पाएँगे: ए आई अंदाज़ कैसे सीखता है, और कब ग़लत बात सीख लेता है। आज तीन बातें: समझाने की जगह दिखाना, ए आई नमूने से क्या-क्या उठा लेता है, और क्या चिपकाएँ। नमूने पहले से देते हैं? तो बीच वाली बात आपके लिए है: वो एक नमूना, जो हर जवाब बिगाड़ सकता है।

Describing your style to an AI

Rekha lives in Indore, and her achaar sells through a messaging app. For every new achaar she writes four or five lines herself. New this week: jackfruit achaar, three hundred and fifty grams, two hundred and twenty rupees. And tonight there is no time to write. So she thought what anyone would: if I explain my style well enough, the AI will get it.

हिन्दी में पढ़ें

रेखा इंदौर में रहती है, और उसका अचार मैसेज वाले ऐप पर बिकता है। हर नए अचार के लिए चार-पाँच लाइनें ख़ुद लिखती है। इस हफ़्ते नया अचार आया है: कटहल का, साढ़े तीन सौ ग्राम, दो सौ बीस रुपये। और आज रात लिखने का वक़्त नहीं है। तो उसने वही सोचा जो कोई भी सोचेगा: अगर मैं अपना स्टाइल अच्छे से समझा दूँ, तो ए आई पकड़ लेगा।

She typed: write a description for the jackfruit achaar, with the weight, the price, the mustard oil. And: my style is simple, friendly, desi and a bit funny. An answer came, and it was fine. But you could put any other shop's name on it and it would still work. Because those words mean something different to each of us. Rekha's bit funny is one light line. Someone else's is a whole joke.

हिन्दी में पढ़ें

उसने लिखा: कटहल के अचार का डिस्क्रिप्शन लिखो, वज़न, दाम, सरसों का तेल। और, मेरा स्टाइल सिंपल, फ़्रेंडली, देसी और थोड़ा फ़नी है। जवाब आया, ठीक-ठाक था। पर उस पर किसी और दुकान का नाम लगा दीजिए, तब भी चल जाता। क्योंकि ये शब्द हर किसी के लिए अलग हैं। रेखा का थोड़ा फ़नी एक हल्की सी लाइन है। किसी और का, पूरा चुटकुला।

This is not only Rekha's problem. A research team says it plainly: a personal style is often so subtle that it is hard to spell out in a prompt. Describing is not useless. It is just not enough alone. What words cannot carry, a sample shows.

हिन्दी में पढ़ें

ये सिर्फ़ रेखा की दिक़्क़त नहीं। एक रिसर्च टीम ने साफ़ लिखा है: अपना अंदाज़ अक्सर इतना बारीक होता है, कि प्रॉम्प्ट में बताना मुश्किल है। समझाना बेकार नहीं है। अकेले काफ़ी नहीं। जो शब्दों में नहीं आता, वो नमूने में दिख जाता है।

Two things to know first

Two things first. What you type and send to an AI is called a prompt. A good prompt tells the whole job, and it can include an example. And the thing inside a chatbot that writes the answer is called a model. It writes like your phone keyboard, which suggests the next word as you type. The word that fits, then the next.

हिन्दी में पढ़ें

पहले दो बातें। ए आई को जो लिखकर भेजते हैं, उसे प्रॉम्प्ट कहते हैं। अच्छे प्रॉम्प्ट में पूरी बात होती है, और उसमें एक नमूना भी हो सकता है। और चैटबॉट के अंदर जो चीज़ जवाब लिखती है, उसे मॉडल कहते हैं। वो फ़ोन के कीबोर्ड की तरह लिखता है, जो टाइप करते वक़्त अगला शब्द सुझाता है। जो शब्द बैठता है, वो, फिर अगला।

Only describe a style, and it picks most of the words its own way. How a sample fills that gap is today's topic.

हिन्दी में पढ़ें

अंदाज़ सिर्फ़ समझाएँगे, तो ज़्यादातर शब्द वो अपने हिसाब से चुनेगा। नमूना ये कमी कैसे भरता है, आज यही देखेंगे।

Describing your style vs showing it

Now the same task, another way. Not one word about style, just one old description of Rekha's. Like Rekha's story, this sample is one we made up. Mango achaar, grandma's recipe. Mustard oil, twelve days in the sun. Less hot, more sour. Then the price, and then: message us to order. Below it, one line: write the new product's description in this same style. And the same jackfruit details.

हिन्दी में पढ़ें

अब वही काम, दूसरे तरीक़े से। अंदाज़ के बारे में एक शब्द नहीं, बस रेखा का एक पुराना डिस्क्रिप्शन। रेखा की कहानी की तरह, ये नमूना भी हमने बनाया है। आम का अचार, नानी वाली रेसिपी। सरसों का तेल, बारह दिन धूप में। तीखा कम, खट्टा ज़्यादा। आख़िर में दाम, और फिर: ऑर्डर के लिए मैसेज करें। नीचे बस एक लाइन: इसी अंदाज़ में नए प्रोडक्ट का डिस्क्रिप्शन लिखो। और कटहल की वही जानकारी।

Now you guess. Which answer will sound more like Rekha? The style explained in four words, or one thing she actually wrote? As a rule, the one with the sample. Because the sample held everything the four words never said: how long it runs, where the price goes, and what the last line is. This is not just our opinion. A research team tested it on the writing of more than four hundred real people. With a few samples, the imitation came out clearly better than with none.

हिन्दी में पढ़ें

अब आप सोचिए। रेखा के ज़्यादा क़रीब कौन सा जवाब होगा? चार शब्दों में समझाया स्टाइल, या उसका लिखा एक नमूना? आम तौर पर, नमूने वाला। क्योंकि नमूने में वो सब था, जो चार शब्दों में था ही नहीं: कितना लंबा, दाम कहाँ, और आख़िरी लाइन क्या। ये सिर्फ़ हमारी राय नहीं। एक रिसर्च टीम ने चार सौ से ज़्यादा असली लोगों की लिखाई पर इसे परखा। कुछ नमूने देने पर नक़ल, बिना नमूने वाली से साफ़ बेहतर निकली।

Check your own: put the answer beside the sample. Count the lines, find the price, read the last line. Think of a tailor. Tell him: make me something nice, a good fit. He will make it his way. Or hand him one of your shirts, one that fits you well. The length, the collar, the sleeves: he measures it all from that.

हिन्दी में पढ़ें

अपना जवाब नमूने के बगल में रखकर ख़ुद देखिए। लाइनें गिनिए, दाम ढूँढिए, आख़िरी लाइन पढ़िए। इसे दर्ज़ी से समझिए। दर्ज़ी से कहिए, कुछ अच्छा सा बना दो, फ़िटिंग वाला। वो अपने हिसाब से बनाएगा। या उसके हाथ में अपनी एक शर्ट रख दीजिए, जो आपको ठीक आती है। लंबाई, कॉलर, आस्तीन, वो सब उसी से नाप लेगा।

The style words are like saying make me something nice. The old description is the shirt that fits. This has a name. Here a shot means a sample. No sample is zero-shot. One sample is one-shot. A few samples is few-shot. The model itself does not change. The samples live only in this prompt, so in a new chat, paste them in again.

हिन्दी में पढ़ें

स्टाइल के शब्द, वो कुछ अच्छा सा हैं। पुराना डिस्क्रिप्शन, वो फ़िट आने वाली शर्ट है। इसका नाम भी है। यहाँ शॉट का मतलब है नमूना। बिना नमूने के, ज़ीरो शॉट। एक नमूना, वन शॉट। कुछ नमूने, यानी फ़्यू शॉट। मॉडल ख़ुद नहीं बदलता। नमूने सिर्फ़ इसी प्रॉम्प्ट में रहते हैं, तो नई चैट में उन्हें फिर से चिपकाइए।

So don't describe the shirt. Hand it over.

हिन्दी में पढ़ें

तो शर्ट के बारे में बताइए मत। शर्ट दे दीजिए।

What the AI copies from a sample

But why does one sample do so much? Back to the phone keyboard. The model picks each next word from what is written in front of it. Your samples start a pattern. The new description is just the next step of that pattern. A study from twenty twenty-two used sorting tasks, where each example comes with its answer. The answers were swapped at random, and results barely fell: the format mattered more.

हिन्दी में पढ़ें

पर एक नमूना इतना असर क्यों करता है? फ़ोन के कीबोर्ड पर लौटिए। मॉडल हर अगला शब्द वही देखकर चुनता है, जो उसके सामने लिखा है। आपके नमूने एक पैटर्न शुरू करते हैं। नया डिस्क्रिप्शन उसी पैटर्न की अगली कड़ी है। दो हज़ार बाईस की एक रिसर्च में छाँटने वाले काम थे, जहाँ हर नमूने के साथ उसका जवाब लिखा होता है। जवाब बेतरतीब बदले गए, फिर भी नतीजे थोड़े ही गिरे: ढाँचा ज़्यादा मायने रखता था।

But in a study from twenty twenty-three, larger models given examples with flipped answers went along with the flipped answers. Small models ignored them. So it often takes more than the style. The length, the lines, where the price goes. And sometimes what you never meant at all. The AI makers warn about it in their own guides. An AI can pick up patterns you never meant, and it can lift a sample's phrases word for word.

हिन्दी में पढ़ें

पर दो हज़ार तेईस की एक रिसर्च में, बड़े मॉडलों को उल्टे जवाब वाले नमूने दिए गए, तो वो उल्टे जवाबों पर ही चल पड़े। छोटे मॉडलों ने उन्हें अनदेखा किया। इसलिए वो अक्सर सिर्फ़ अंदाज़ नहीं उठाता। लंबाई, लाइनें, दाम की जगह भी। और कभी वो भी, जो आपने चाहा ही नहीं था। ए आई कंपनियाँ अपनी गाइड्स में ख़ुद चेताती हैं। जो पैटर्न आपने नहीं चाहा, ए आई वो भी पकड़ सकता है। नमूने के वाक्य हूबहू भी उठा सकता है।

Look in the first answer. Did a grandmother turn up for the jackfruit achaar too? Twelve days of sun that belonged to the mango? Now swap the sample. Before Diwali, Rekha once wrote one in a hurry, all in capitals: Diwali offer! Buy two, get one free. Hurry, stock is low. There is no offer on the jackfruit achaar. Now look: did an offer, capital letters or a hurry now slip into the answer?

हिन्दी में पढ़ें

पहले जवाब में ढूँढिए। कटहल के अचार में भी नानी आ गई? बारह दिन की धूप, जो आम की थी? अब नमूना बदलिए। दिवाली से पहले रेखा ने एक जल्दी में लिखा था, बड़े-बड़े अक्षरों में: दिवाली ऑफ़र! दो लो, एक फ़्री। जल्दी कीजिए, स्टॉक कम है। कटहल पर कोई ऑफ़र है ही नहीं। अब देखिए: जवाब में ऑफ़र, बड़े अक्षर, या जल्दी कीजिए, तो नहीं आ गया?

For a shop that is expensive. Once a false offer is out, customers will ask for it. So one sample's one-off can become a habit in every answer. Give a tailor a shirt with a torn pocket and he knows it is a mistake. The AI does not always tell the difference. It may measure the torn pocket too.

हिन्दी में पढ़ें

दुकान के लिए ये महँगा है। झूठा ऑफ़र छप गया, तो ग्राहक वही माँगेंगे। तो एक नमूने की एक बार की बात, हर जवाब की आदत बन सकती है। दर्ज़ी को फटी जेब वाली शर्ट दीजिए, वो समझ जाएगा कि ये ग़लती है। ए आई ये फ़र्क़ हमेशा नहीं करता। वो फटी जेब भी नाप सकता है।

So in Rekha's prompt, what was the torn pocket? That Diwali offer. Right for that one week, wrong as a pattern. Keep this in mind: an AI does not read your intention. It reads your sample, whatever is in it.

हिन्दी में पढ़ें

तो रेखा के प्रॉम्प्ट में फटी जेब क्या थी? वो दिवाली वाला ऑफ़र। उस एक हफ़्ते के लिए सही, पैटर्न के लिए ग़लत। ये बात याद रखिए: ए आई आपकी नीयत नहीं पढ़ता। आपका नमूना पढ़ता है, जैसा भी हो।

Paste the real thing, not a summary

Stop for a second. Why could the Diwali offer come back in the jackfruit answer? Because the AI carries the sample's pattern forward, and it does not always check whether that pattern fits the new achaar. Now the same idea on a bigger job. Better than telling the AI about something is pasting the thing itself.

हिन्दी में पढ़ें

एक सेकंड रुकिए। दिवाली वाला ऑफ़र कटहल के जवाब में लौट क्यों सकता है? क्योंकि ए आई नमूने का पैटर्न आगे बढ़ाता है। वो हर बार नहीं जाँचता, कि वो पैटर्न नए अचार पर बैठता भी है या नहीं। अब यही बात एक बड़े काम पर। किसी चीज़ के बारे में बताने से बेहतर है, वो चीज़ ही चिपका देना।

Rekha has an angry message from a customer: it's been three days, and the mango achaar still hasn't come. I sent the money on the twelfth. When will it arrive? But to the AI she only described it: a customer is upset that the delivery is late, write a polite reply. Which achaar? When was it paid for? When will the parcel arrive? The AI was told none of it. So it can ask back, stay vague, or guess.

हिन्दी में पढ़ें

रेखा के पास एक ग्राहक का नाराज़ मैसेज आया है: भैया, तीन दिन हो गए, आम का अचार अभी तक नहीं आया। पैसे बारह तारीख़ को भेज दिए थे। कब तक आएगा? पर ए आई को उसने बस हाल बताया: एक ग्राहक डिलीवरी लेट होने से नाराज़ है, उसके लिए एक पोलाइट रिप्लाई लिख दो। कौन सा अचार? पैसे कब आए? पार्सल कब पहुँचेगा? ए आई को इनमें से कुछ नहीं बताया गया। तो वो पलटकर पूछ सकता है, गोलमोल लिख सकता है, या अंदाज़ा लगा सकता है।

Look in the answer: a refund, a discount or a date that Rekha never offered? Now the other way. The customer's real message, word for word, inside quotation marks. Below it, what only Rekha knows: the parcel left on the fourteenth and arrives tomorrow. And at the end: three short lines, to send as a message. Write only what I have told you above.

हिन्दी में पढ़ें

जवाब में ढूँढिए: कोई रिफ़ंड, कोई छूट, या कोई तारीख़, जो रेखा ने कभी दी ही नहीं? अब दूसरा तरीक़ा। ग्राहक का असली मैसेज, जस का तस, इन्वर्टेड कॉमा में। नीचे वो बात जो सिर्फ़ रेखा जानती है: पार्सल चौदह को निकला, कल पहुँचेगा। और आख़िर में: तीन छोटी लाइनें, मैसेज में भेजने के लिए। सिर्फ़ वही बातें लिखो, जो मैंने ऊपर बताई हैं।

Now the answer has the achaar's name, the payment date and the day it arrives. Still, before sending, match every date and every promise against what you pasted. Don't assume the AI knows everything. What only you know, write it in yourself. Before you paste, take out names, phone numbers, addresses and account details. One AI maker warns: don't put in anything you would not want a person reviewing chats to see.

हिन्दी में पढ़ें

अब जवाब के पास अचार का नाम है, पैसे की तारीख़ है, और पहुँचने का दिन। फिर भी भेजने से पहले, हर तारीख़ और हर वादा अपने चिपकाए मैसेज से मिला लीजिए। ये मत मानिए कि ए आई को सब पता है। जो बात सिर्फ़ आप जानते हैं, वो ख़ुद लिखकर दीजिए। चिपकाने से पहले नाम, फ़ोन नंबर, पता और खाते की जानकारी हटा दीजिए। एक ए आई कंपनी ख़ुद चेताती है: जो आप चैट जाँचने वाले किसी इंसान को न दिखाना चाहें, वो डालिए ही मत।

An email, a school notice, a customer's message. The thing itself says more than your summary of it.

हिन्दी में पढ़ें

ईमेल हो, स्कूल का नोटिस हो, या ग्राहक का मैसेज। चीज़ ख़ुद, आपके बताए से ज़्यादा बताती है।

Say what you want, not what you don't

And what if you want to stop something? Rekha wrote: no emoji, no hashtags, no words like premium, nothing long. Four times she said no. Not once did she say what she wants. So the AI chooses everything else itself. And what will it choose? Now the same wish, said straight. Four short lines. The name first, then how it is made, then the taste, then the weight and price.

हिन्दी में पढ़ें

और अगर कुछ रोकना हो? रेखा ने लिखा: इमोजी मत लगाना, हैशटैग मत लगाना, प्रीमियम जैसे शब्द मत लिखना, लंबा मत लिखना। चार बार मना किया। पर एक बार भी नहीं बताया कि चाहिए क्या। तो बाक़ी सब ए आई ख़ुद चुनेगा, और क्या चुनेगा? अब वही इच्छा, सीधे शब्दों में। चार छोटी लाइनें। पहली में नाम, दूसरी में कैसे बना, तीसरी में स्वाद, चौथी में वज़न और दाम।

And the language: plain Hinglish, as if texting someone you know on your phone. The AI makers advise the same: don't only say no, say what to do. And say it exactly. One maker gives its own example: 'use three to five sentences' works better than 'keep it fairly short'.

हिन्दी में पढ़ें

और भाषा: सादी हिंग्लिश, जैसे फ़ोन पर किसी जान-पहचान वाले को मैसेज लिख रहे हों। ए आई कंपनियों की सलाह भी यही है: सिर्फ़ मना मत कीजिए, बताइए क्या करना है। और नाप-तौल के साथ बताइए। एक कंपनी ख़ुद मिसाल देती है: थोड़ा छोटा लिखो, ये कहने से अच्छा है, तीन से पाँच वाक्य लिखो।

One way to see it: saying no closes some paths, but the AI still picks which path to take. A line-by-line plan names the path itself. A no can work too. But the clearest way to stop something: write out, or show, what you do want.

हिन्दी में पढ़ें

एक तरह से देखिए: मना करने से रास्ते कम होते हैं, पर कौन सा रास्ता लें, ये फिर भी ए आई चुनता है। लाइन-दर-लाइन प्लान वो रास्ता ख़ुद बता देता है। मना करना भी चल सकता है। पर रोकने का सबसे साफ़ तरीक़ा: जो चाहिए, वो साफ़ लिखिए, या दिखाइए।

One sample or three

So is one sample enough? That is the problem. With only one sample, every habit of it can be copied, the good and the odd. Give three different samples, that is, few-shot. Then what all three have in common is what it is most likely to pick up. Take two more old samples of Rekha's. Sweet lemon achaar: try it with khichdi. And dry garlic chutney: just four ingredients.

हिन्दी में पढ़ें

तो क्या एक नमूना काफ़ी है? दिक़्क़त यही है। एक ही नमूना होगा, तो उसकी हर आदत नक़ल हो सकती है, अच्छी भी, अजीब भी। तीन अलग-अलग नमूने दीजिए, यानी फ़्यू शॉट। तो जो तीनों में एक जैसा है, उसी के पकड़ में आने की सबसे ज़्यादा उम्मीद है। रेखा के दो और पुराने नमूने लीजिए। नींबू का मीठा अचार: खिचड़ी के साथ खाकर देखिए। और लहसुन की सूखी चटनी: सिर्फ़ चार चीज़ें।

What do the three have in common? Short lines, one thing about how it is made, weight and price, and the same last line: message us to order. One AI maker advises three to five examples, and says they should differ from each other. The others give no fixed number. And that study names a limit too. The imitation came closest on news and email. Casual writing was the hardest, and going from two samples to ten changed little.

हिन्दी में पढ़ें

तीनों में एक जैसा क्या है? छोटी लाइनें, बनाने की एक बात, वज़न और दाम, और वही आख़िरी लाइन: ऑर्डर के लिए मैसेज करें। एक ए आई कंपनी तीन से पाँच नमूनों की सलाह देती है। और कहती है, वो एक-दूसरे से अलग हों। बाक़ी कोई पक्की गिनती नहीं देतीं। और वो रिसर्च एक हद भी बताती है। ख़बर और ईमेल में नक़ल सबसे क़रीब रही। बोलचाल वाली लिखाई सबसे मुश्किल रही, और दो से दस नमूनों तक बढ़ाने पर भी कम फ़र्क़ पड़ा।

So three samples guard against one sample's odd habit. But getting closer to you depends less on how many you give. Samples bring an AI closer to you. They do not make it you. The last touch is still yours.

हिन्दी में पढ़ें

यानी तीन नमूने, एक नमूने की अजीब आदत से बचाते हैं। पर आपके जैसा बनाने में, गिनती से कम फ़र्क़ पड़ता है। नमूने ए आई को आपके क़रीब लाते हैं। आप जैसा नहीं बना देते। आख़िरी हाथ आपका ही लगेगा।

Try it with your own writing

Now you do it, right now, on your phone. It takes a minute at most. Copy two messages you wrote yourself, of the same kind as the one you want. Take out names and numbers first. Paste them into the AI and write: write a third one in the same style as these, and say what it is about.

हिन्दी में पढ़ें

अब आप कीजिए, अभी, फ़ोन पर। एक मिनट से ज़्यादा नहीं लगेगा। अपने लिखे दो मैसेज कॉपी कीजिए, एक ही तरह के, जैसा तीसरा चाहिए। नाम और नंबर पहले हटा दीजिए। उन्हें ए आई में चिपकाइए, और लिखिए: इन्हीं के अंदाज़ में एक तीसरा लिखो, और बताइए किस बारे में।

And add one line: before you write, tell me what pattern you saw in my writing. Then read it: does that pattern really sound like you? And put the third message beside your two and compare.

हिन्दी में पढ़ें

और एक लाइन जोड़िए: लिखने से पहले बताओ, मेरे लिखने में तुम्हें क्या पैटर्न दिखा। फिर पढ़िए: क्या वो पैटर्न सच में आप जैसा है? और तीसरा मैसेज अपने दोनों के बगल में रखकर देखिए।

Rekha's three samples

So Rekha stopped explaining her style. She pasted the three old descriptions, not the Diwali one. Now the model had her real writing, not four words about it. Now look for this in her answer: did the parts all three share come through? And did grandma, khichdi and the four ingredients, each in only one sample, drop out? The first time, the model got four words and filled in the rest its own way. This time, for every next word, it had Rekha's writing in front of it.

हिन्दी में पढ़ें

तो रेखा ने स्टाइल समझाना छोड़ दिया। तीनों पुराने डिस्क्रिप्शन चिपकाए, दिवाली वाला नहीं। अब मॉडल के पास उसके चार शब्द नहीं, उसकी असली लिखाई थी। अब उसके जवाब में ये ढूँढिए: तीनों की साझा बातें आईं या नहीं? और नानी, खिचड़ी, चार चीज़ें, जो एक-एक नमूने में थीं, वो हटीं या नहीं? पहली बार मॉडल को चार शब्द मिले थे, बाक़ी उसने अपने हिसाब से भरा। इस बार हर अगले शब्द के लिए, उसके सामने रेखा की लिखाई थी।

So, the same question again: how does an AI learn anyone's style?

हिन्दी में पढ़ें

तो अब वही सवाल: ए आई किसी का अंदाज़ सीखता कैसे है?

One line to keep

Less from describing it, more from showing it: from samples you wrote, given in the prompt each time. Don't just explain it. Show it. One question, in five words in the comments: one sample or three, which is safer, and why? And when an AI calls your plan excellent, should you believe it? That is the next episode.

हिन्दी में पढ़ें

समझाने से कम, दिखाने से ज़्यादा: आपके अपने लिखे नमूनों से, जो आप हर बार प्रॉम्प्ट में देते हैं। सिर्फ़ समझाइए मत, दिखाइए। एक सवाल, कमेंट में पाँच शब्दों में: एक नमूना या तीन, कौन सा ज़्यादा सुरक्षित, और क्यों? और जब ए आई आपके प्लान को बहुत बढ़िया बोले, तो क्या मान लें? वो अगले एपिसोड में।

The AI course runs step by step on this channel. To learn along, subscribe to BooleanIQ.

हिन्दी में पढ़ें

ए आई कोर्स इसी चैनल पर एक-एक क़दम चलता है। साथ सीखना हो, तो बूलियन आईक्यू सब्सक्राइब कीजिए।

Ideas to keep

Prompt
Two things first. What you type and send to an AI is called a prompt. A good prompt tells the whole job, and it can include an example.
Model
And the thing inside a chatbot that writes the answer is called a model.
Few-shot
This has a name. Here a shot means a sample. No sample is zero-shot. One sample is one-shot. A few samples is few-shot. The model itself does not change. The samples live only in this prompt, so in a new chat, paste them in again.

THE WORKED CASE

Follow the example

Now the same task, another way. Not one word about style, just one old description of Rekha's. Like Rekha's story, this sample is one we made up. Mango achaar, grandma's recipe. Mustard oil, twelve days in the sun. Less hot, more sour. Then the price, and then: message us to order. Below it, one line: write the new product's description in this same style. And the same jackfruit details. Now you guess. Which answer will sound more like Rekha? The style explained in four words, or one thing she actually wrote? As a rule, the one with the sample. Because the sample held everything the four words never said: how long it runs, where the price goes, and what the last line is. This is not just our opinion. A research team tested it on the writing of more than four hundred real people. With a few samples, the imitation came out clearly better than with none. Check your own: put the answer beside the sample. Count the lines, find the price, read the last line. Think of a tailor. Tell him: make me something nice, a good fit. He will make it his way. Or hand him one of your shirts, one that fits you well. The length, the collar, the sleeves: he measures it all from that. The style words are like saying make me something nice. The old description is the shirt that fits. This has a name. Here a shot means a sample. No sample is zero-shot. One sample is one-shot. A few samples is few-shot. The model itself does not change. The samples live only in this prompt, so in a new chat, paste them in again. So don't describe the shirt. Hand it over.

Check your understanding

Rekha wants the AI to write in her style. What gets it closer?
Answer and why

One description she wrote before, pasted in as it is

A sample carries what style words never say: how long it runs, where the price goes, how it ends. More style words leave the same gaps. A 2025 study of more than 400 writers found that a few samples of a person's writing made the imitation significantly better than none. Describing is not useless, it is just not enough alone.

Why could a "Diwali offer" from one old sample appear for a product with no offer?
Answer and why

The AI continues the sample's pattern, and doesn't always check it fits

The model writes the next piece that fits what is in front of it, and the samples are the start of that pattern. The makers warn that models can pick up patterns you never meant and reuse a sample's phrases word for word, and larger models follow even wrong answers in their examples. One sample's one-off can become a habit in every answer; three varied samples make a one-off less likely to be copied.

TRY IT YOURSELF

Put the idea to work

Now you do it, right now, on your phone. It takes a minute at most. Copy two messages you wrote yourself, of the same kind as the one you want. Take out names and numbers first. Paste them into the AI and write: write a third one in the same style as these, and say what it is about. And add one line: before you write, tell me what pattern you saw in my writing. Then read it: does that pattern really sound like you? And put the third message beside your two and compare.

Prompts to try

Prompt 1

Aam ka achaar, nani wali recipe. Sarson ka tel, 12 din dhoop mein. Teekha kam, khatta zyada. 400 g, ₹180. Order ke liye message karein.

Prompt 2

Nimbu ka meetha achaar. Bina tel ka hai, isliye halka. Khichdi ke saath khaake dekhiye. 300 g, ₹150. Order ke liye message karein.

Prompt 3

Lahsun ki sookhi chutney. Sirf 4 cheezein: lahsun, mirch, moongfali, namak. Ek chammach kaafi hai. 200 g, ₹120. Order ke liye message karein.

Prompt 4

DIWALI OFFER!!! Mirchi ka achaar, 2 lo 1 FREE, sirf is hafte. Jaldi kijiye, stock kam hai. 250 g, ₹140.

Prompt 5

Mere ghar ke achaar ke business ke liye ek product description likho.
Product: kathal ka achaar, 350 g, ₹220, sarson ke tel mein, thoda teekha.
Mera style simple, friendly, desi aur thoda funny hai.

Prompt 6

Yeh mera likha hua ek purana product description hai:

"Aam ka achaar, nani wali recipe. Sarson ka tel, 12 din dhoop mein. Teekha kam, khatta zyada. 400 g, ₹180. Order ke liye message karein."

Isi andaaz mein naye product ka description likho.
Product: kathal ka achaar, 350 g, ₹220, sarson ke tel mein, thoda teekha.

Prompt 7

Yeh mera likha hua ek purana product description hai:

"DIWALI OFFER!!! Mirchi ka achaar, 2 lo 1 FREE, sirf is hafte. Jaldi kijiye, stock kam hai. 250 g, ₹140."

Isi andaaz mein naye product ka description likho.
Product: kathal ka achaar, 350 g, ₹220, sarson ke tel mein, thoda teekha.

Prompt 8

Yeh mere likhe hue teen purane product descriptions hain:

1. "Aam ka achaar, nani wali recipe. Sarson ka tel, 12 din dhoop mein. Teekha kam, khatta zyada. 400 g, ₹180. Order ke liye message karein."
2. "Nimbu ka meetha achaar. Bina tel ka hai, isliye halka. Khichdi ke saath khaake dekhiye. 300 g, ₹150. Order ke liye message karein."
3. "Lahsun ki sookhi chutney. Sirf 4 cheezein: lahsun, mirch, moongfali, namak. Ek chammach kaafi hai. 200 g, ₹120. Order ke liye message karein."

Inhi ke andaaz mein naye product ka description likho.
Product: kathal ka achaar, 350 g, ₹220, sarson ke tel mein, thoda teekha.

Prompt 9

Ek customer delivery late hone se naraaz hai. Uske liye ek polite reply likh do.

Prompt 10

Customer ka message yeh hai:

"Bhaiya 3 din ho gaye, aam ka achaar abhi tak nahi aaya. Paise 12 tareekh ko bhej diye the. Kab tak aayega?"

Asli baat yeh hai: parcel 14 tareekh ko courier se nikla hai, tracking ke hisaab se kal pahunchega.

Iska reply likho, 3 chhoti lines mein, message mein bhejne ke liye. Sirf wahi baatein likho jo maine upar batayi hain.

Prompt 11

Kathal ke achaar ka description likho. Emoji mat lagana, hashtag mat lagana, "premium" jaise shabd mat likhna, lamba mat likhna.

Prompt 12

Kathal ke achaar ka description likho, 4 chhoti lines mein.
Line 1: cheez ka naam. Line 2: kaise bana hai. Line 3: swaad kaisa hai. Line 4: wazan aur daam.
Saadi Hinglish, jaise phone par kisi jaan-pehchaan wale ko message likh rahe ho.
Product: kathal ka achaar, 350 g, ₹220, sarson ke tel mein, thoda teekha.

Prompt 13

Yeh mere likhe hue do message hain:

1. [apna likha hua pehla message yahan paste karein]
2. [apna likha hua doosra message yahan paste karein]

Inhi ke andaaz mein teesra likho, is baare mein: [kis baare mein likhna hai].
Likhne se pehle 3 line mein batao ki tumne mere likhne mein kya pattern dekha.

Go to the source

Kept in this browser only.