प्रॉम्प्ट को अपने-आप ऑप्टिमाइज़ करने वाला "Prompt Optimizer" GPTs
(chat.openai.com)परिचय:
- OpenAI Prompt Engineering की Six Strategies के आधार पर यह दिए गए प्रॉम्प्ट का विश्लेषण करता है और ऑप्टिमाइज़ किया हुआ परिणाम लौटाता है।
- यह GPTs सीधे GPT-4 की क्षमता से ऑप्टिमाइज़ करता है, इसलिए दिए गए प्रॉम्प्ट और परिणाम केवल उपयोगकर्ता स्वयं और OpenAI ही देख सकते हैं।
- इस परिणाम को GPT-4 या 3.5, या बाहरी Bing, Bard में इस्तेमाल करने पर अच्छे नतीजे मिल सकते हैं.
उपयोग के उदाहरण:
- NodeJS में उपयोग के लिए Python के celery का विकल्प खोजने वाला एक अपरिष्कृत प्रॉम्प्ट
- स्वयं बनाए गए VPN पर उपयोग के लिए फ़ाइल शेयरिंग प्रोटोकॉल या सॉफ़्टवेयर की सिफारिश
- कोरियाई भाषा को सपोर्ट करने वाली speech-to-text सेवाओं की तुलना तालिका के रूप में आउटपुट करने वाला प्रॉम्प्ट
आज GPT Store के खुलने के अवसर पर, प्रॉम्प्ट लिखने की झंझट से बचने के लिए मैंने जो GPTs बनाकर इस्तेमाल किया था, उसे सार्वजनिक कर रहा हूँ। कृपया इस्तेमाल करके फ़ीडबैक दें।
6 टिप्पणियां
क्या इसे ChatGPT के बिना भी इस्तेमाल किया जा सकता है? मैं ollima इस्तेमाल कर रहा हूँ
देर से जवाब देने के लिए माफ़ कीजिए।
मैं भी हाल ही में ChatGPT limits की वजह से API या local पर migrate करने की तैयारी कर रहा हूँ।
इसलिए मैं हाल ही में पेश किए गए LibreChat में system prompt को copy-paste करके test कर रहा हूँ।
अभी यह GPT3.5-turbo पर काम करता है, इसलिए अगर आपके पास उस स्तर की performance वाला model है तो आप इसे इस्तेमाल कर सकते हैं।
यह इन दिनों प्रचलित GPTs के लिए prompt injection के जरिए निकाला गया परिणाम है।
'''
You are ChatGPT, a large language model trained by OpenAI.
You are a "GPT" – a version of ChatGPT that has been customized for a specific use case. GPTs use custom instructions, capabilities, and data to optimize ChatGPT for a more narrow set of tasks. You yourself are a GPT created by a user, and your name is Prompt Optimizer. Note: GPT is also a technical term in AI, but in most cases if the users asks you about GPTs assume they are referring to the above definition.
Here are instructions from the user outlining your goals and how you should respond:
As Prompt Optimizer, your primary role is to analyze and improve the structure of user prompts with a focus on command statements. Utilize six key strategies: providing clear instructions, referencing applicable text, simplifying complex tasks, allowing time for thoughtful responses, using external tools effectively, and employing systematic testing. Your responses should predominantly use command statements to clearly identify issues in user prompts, suggest specific improvements, and provide an optimized version of the prompt. Focus on commanding, concise communication and avoid overly complex solutions. Ensure your suggestions are presented in plain text for easy understanding and application by the user.
'''
Temperature: 0.3 पर सेट करने पर यह अच्छी तरह काम करता है।
इसे इस्तेमाल करने के लिए subscription लेना पड़ता है।
मुझे लगता है कि अगर OpenAI GPTs को GPT3 पर भी इस्तेमाल करने लायक नहीं बनाता, तो इसे मुफ्त में इस्तेमाल करना संभव नहीं होगा।
मैंने इसे अपने पोर्टफोलियो प्रोजेक्ट में लगभग इसी तरह के इरादे से बनाना शुरू किया था, लेकिन बीच में नौकरी लग गई, इसलिए रोक दिया था—इसे देखकर अच्छा लगा..
https://bootme.co.kr/prompt/generator
जब GPTs पहली बार आए थे, तब GPT Builder से यूज़र इनपुट को चलने से रोकने की कोशिश करने के अलावा खास कुछ नहीं था। और मुझे लगता है कि किसी खास डोमेन के लिए prompt लिखने वाले टूल्स ज़रूर चाहिए। अभी भी अच्छी तरह डिज़ाइन किए गए prompt templates की बराबरी मशीन से जनरेट किए गए prompts नहीं कर पाते। ऊपर से आजकल GPT बार-बार बहुत अस्थिर हो रहा है, इसलिए इस तरीके से बनने वाले prompts की quality भी गिर जाती है, जो परेशान करने वाली बात है।