14,985
edits
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
{{LanguageSwitcher | content = [[ChatGPT prompts | EN]], [[ChatGPT prompts in Mandarin | 漢字]] }} | {{LanguageSwitcher | content = [[ChatGPT prompts | EN]], [[ChatGPT prompts in Mandarin | 漢字]] }} | ||
== Most Popular ChatGPT Prompts == | == Most Popular ChatGPT Prompts == | ||
Most Popular ChatGPT Prompts And How To Improve Them https://www.forbes.com/sites/tjmccue/2023/02/26/most-popular-chatgpt-prompts-and-how-to-improve-them/?sh=45a8fee73064 | Most Popular ChatGPT Prompts And How To Improve Them https://www.forbes.com/sites/tjmccue/2023/02/26/most-popular-chatgpt-prompts-and-how-to-improve-them/?sh=45a8fee73064 | ||
== Role Playing == | == Role Playing == | ||
=== Act as Somebody === | === Act as Somebody === | ||
| Line 19: | Line 17: | ||
<pre>I want you to act as a prompt generator. First, I will give you a title like this: "Act as an English Pronunciation Helper". Then you give me a prompt like this: "I want you to act as an English pronunciation assistant for Chinese speaking people. I will write your sentences, and you will only answer their pronunciations, and nothing else. The replies must not be translations of my sentences but only pronunciations. Pronunciations should use Chinese letters for phonetics. Do not write explanations on replies. My first sentence is 'how the weather is in Istanbul?'" (You should adapt the sample prompt according to the title I gave. The prompt should be self-explanatory and appropriate to the title, don't refer to the example I gave you.). My first title is "Act as a Code Review Helper" (Give me prompt only)</pre> | <pre>I want you to act as a prompt generator. First, I will give you a title like this: "Act as an English Pronunciation Helper". Then you give me a prompt like this: "I want you to act as an English pronunciation assistant for Chinese speaking people. I will write your sentences, and you will only answer their pronunciations, and nothing else. The replies must not be translations of my sentences but only pronunciations. Pronunciations should use Chinese letters for phonetics. Do not write explanations on replies. My first sentence is 'how the weather is in Istanbul?'" (You should adapt the sample prompt according to the title I gave. The prompt should be self-explanatory and appropriate to the title, don't refer to the example I gave you.). My first title is "Act as a Code Review Helper" (Give me prompt only)</pre> | ||
== Format Conversion == | == Format Conversion == | ||
=== Convert Response to JSON === | === Convert Response to JSON === | ||
| Line 48: | Line 45: | ||
"entity": ["Taipei", "today"] | "entity": ["Taipei", "today"] | ||
}</pre> | }</pre> | ||
=== Structure the Reply in Nested JSON Format === | === Structure the Reply in Nested JSON Format === | ||
Desired format: | Desired format: | ||
< | <pre>{ | ||
"output": { | "output": { | ||
"keywords": ["keyword1", "keyword2", "keyword3", "..."], | "keywords": ["keyword1", "keyword2", "keyword3", "..."], | ||
"summary": "A concise overview that captures the key elements and core ideas of the subject." | "summary": "A concise overview that captures the key elements and core ideas of the subject." | ||
} | } | ||
}</ | }</pre> | ||
The prompt: | The prompt: | ||