प्रॉम्प्ट डिज़ाइन के बारे में जानकारी

प्रॉम्प्ट डिज़ाइन, प्रॉम्प्ट बनाने की ऐसी प्रोसेस है जिसमें भाषा के मॉडल से मनमुताबिक जवाब मिलते हैं. अच्छी तरह से स्ट्रक्चर किए गए प्रॉम्प्ट लिखना, किसी भाषा मॉडल से सटीक और अच्छी क्वालिटी के जवाब पक्का करने का एक ज़रूरी हिस्सा है. इस पेज पर कुछ बुनियादी सिद्धांतों, रणनीतियों, और सबसे सही तरीकों के बारे में बताया गया है, ताकि आप प्रॉम्प्ट डिज़ाइन करना शुरू कर सकें.

प्रॉम्प्ट क्या होता है

प्रॉम्प्ट एक नैचुरल लैंग्वेज अनुरोध है, जिसे लैंग्वेज मॉडल को जवाब देने के लिए सबमिट किया जाता है. प्रॉम्प्ट में सवाल, निर्देश, कॉन्टेक्स्ट के हिसाब से जानकारी, उदाहरण, और मॉडल को पूरा करने या उसे जारी रखने के लिए कुछ इनपुट शामिल हो सकते हैं. प्रॉम्प्ट मिलने के बाद, यह मॉडल टेक्स्ट, एम्बेड करना, कोड, इमेज, वीडियो, संगीत वगैरह जनरेट कर सकता है. यह इस बात पर निर्भर करता है कि मॉडल किस तरह का है.

प्रॉम्प्ट से जुड़े कॉन्टेंट के टाइप

प्रॉम्प्ट में, इनमें से एक या एक से ज़्यादा तरह का कॉन्टेंट शामिल हो सकता है:

इनपुट

इनपुट, प्रॉम्प्ट में वह टेक्स्ट होता है जिसके लिए आपको मॉडल से जवाब देना है. यह एक ज़रूरी कॉन्टेंट टाइप होता है. इनपुट एक ऐसा सवाल हो सकता है जिसका मॉडल जवाब देता है (सवाल इनपुट), मॉडल की ओर से किया जाने वाला टास्क (टास्क इनपुट), वह इकाई जिस पर मॉडल ऑपरेट करता है (इकाई का इनपुट), या ऐसा आंशिक इनपुट हो सकता है जिसे मॉडल पूरा करता है या पूरा करता है (पूरा होने वाला इनपुट).

सवाल इनपुट

सवाल का इनपुट ऐसा सवाल होता है जिसका जवाब मॉडल से दिया जाता है.

What's a good name for a flower shop that specializes in selling bouquets of
dried flowers?
  
1. Everlasting Blooms
2. Timeless Petals
3. Dried Flower Paradise
4. Eternal Flora
5. Vintage Floral Treasures
6. Rustic Bloom Gallery
7. Ardent Adornment
8. Potpourri Dreams
9. Dried Daisy Days
10. Forever Floral Art
  
टास्क के लिए इनपुट

टास्क इनपुट वह टास्क है जिसे आपको मॉडल से परफ़ॉर्म कराना है. उदाहरण के लिए, आपके पास मॉडल को किसी चीज़ के लिए आइडिया या सुझाव देने का विकल्प होता है.

Give me a simple list of things that I must bring on a camping trip.
  
1. Tent
2. Sleeping bag
3. Sleeping pad
4. Pillow
5. Lantern or flashlight
6. Headlamp
7. Camp stove
8. Fuel for camp stove
9. Cooking pot and utensils
10. Food and water
11. First aid kit
12. Sunscreen
13. Insect repellent
14. Toiletries
15. Toilet paper
16. Fire starter
17. Map
18. Compass
19. Whistle
20. Multi-tool
21. Tarpaulin
22. Rope
23. Garbage bags
24. Camera
25. Binoculars
  
इकाई का इनपुट

इकाई इनपुट वह होता है जिस पर मॉडल कार्रवाई करता है. जैसे, कैटगरी तय करना या खास जानकारी देना. इस तरह के इनपुट को निर्देश शामिल करने से फ़ायदा हो सकता है.

Classify the following items as [large, small].
Elephant
Mouse
Snail
  
- Elephant: Large
- Mouse: Small
- Snail: Small
  
पूरा होने का इनपुट

पूरा होने वाला इनपुट वह टेक्स्ट होता है जिसे मॉडल के पूरा करना या जारी रखना होता है.

Some simple strategies for overcoming writer's block include
  
1. **Take a Break:** Step away from your writing for a bit. Go for a walk, listen to music, or do something else that helps you relax and clear your mind. When you come back to your writing, you may find that your thoughts are more organized and your ideas are flowing more easily.

2. **Change Your Environment:** Sometimes, a change of scenery can help spark creativity. Try writing in a different location, such as a coffee shop, a library, or a park. Being in a new environment can help you see things from a different perspective and break out of your writer's block.

3. **Freewrite or Brainstorm:** Set a timer for 10-15 minutes and just write whatever comes to mind, without worrying about grammar or spelling. This can help you get started and generate new ideas. You can also try brainstorming by writing down a list of words or phrases that are related to your topic. This can help you to free associate and come up with new ideas.

4. **Read or Research:** Sometimes, the best way to overcome writer's block is to read or research your topic. Reading can help you to learn new things and get inspired. Research can help you to gather information and facts that you can use in your writing.

5. **Talk to Someone:** Talk to a friend, family member, or writing partner about what you're struggling with. Sometimes, just talking about your ideas can help you to clarify them and see them from a new perspective. You can also ask for feedback and suggestions, which can help you to move forward with your writing.

6. **Try a Different Writing Style:** If you're stuck in a rut, try experimenting with a different writing style. For example, if you're used to writing formal essays, try writing a poem or a short story. Changing your writing style can help you to break out of your comfort zone and come up with new ideas.

7. **Set a Deadline:** Sometimes, the best way to overcome writer's block is to set a deadline for yourself. This can help you to focus and motivate yourself to finish your writing. When you know that you have a deadline, you're more likely to start writing and keep going until you're finished.
  

संदर्भ

कॉन्टेक्स्ट इनमें से कोई एक हो सकता है:

  • वे निर्देश जिनसे यह पता चलता है कि मॉडल को कैसे काम करना चाहिए.
  • जवाब जनरेट करने के लिए मॉडल, इस जानकारी का इस्तेमाल करता है या इसका रेफ़रंस देता है.

जब आपको मॉडल को जानकारी देनी हो या जवाब की सीमाओं को सिर्फ़ प्रॉम्प्ट में दी गई जानकारी तक सीमित करना हो, तो प्रॉम्प्ट में काम की जानकारी जोड़ें.

Marbles:
Color: red
Number: 12
Color: blue
Number: 28
Color: yellow
Number: 15
Color: green
Number: 17

How many green marbles are there?
  
There are 17 green marbles.
  

उदाहरण

उदाहरण के लिए, ऐसे इनपुट-आउटपुट पेयर होते हैं जिन्हें प्रॉम्प्ट में शामिल किया जाता है, ताकि मॉडल को सटीक जवाब का उदाहरण दिया जा सके. प्रॉम्प्ट में उदाहरण शामिल करना, रिस्पॉन्स फ़ॉर्मैट को पसंद के मुताबिक़ बनाने की असरदार रणनीति है.

Classify the following.
Options:
- red wine
- white wine

Text: Chardonnay
The answer is: white wine
Text: Cabernet
The answer is: red wine
Text: Moscato
The answer is: white wine

Text: Riesling
The answer is:
  
white wine
  

अगले चरण