1,065
edits
Beetlejuice (talk | contribs) No edit summary |
Beetlejuice (talk | contribs) No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{see also|Guides}} | <noinclude>{{see also|Prompt engineering for text generation|Guides}} | ||
{| class="wikitable sortable" | </noinclude>{| class="wikitable sortable" | ||
! Number | ! Number | ||
! Prompting Principle | ! Prompting Principle | ||
Line 24: | Line 24: | ||
|- | |- | ||
| '''6''' | | '''6''' | ||
| Add "I'm going to tip $ | | Add "I'm going to tip $xxx for a better solution!" | ||
|- | |- | ||
| '''7''' | | '''7''' | ||
Line 30: | Line 30: | ||
|- | |- | ||
| '''8''' | | '''8''' | ||
| When formatting your prompt, start with "# | | When formatting your prompt, start with "###Instruction###", followed by either "###Example###" or "###Question###" if relevant. Subsequently, present your content. Use one or more line breaks to separate instructions, examples, questions, context, and input data. | ||
|- | |- | ||
| '''9''' | | '''9''' | ||
Line 69: | Line 69: | ||
|- | |- | ||
| '''21''' | | '''21''' | ||
| To write an essay text | | To write an essay text/paragraph/article or any type of text that should be detailed: “Write a detailed essay/text/paragraph for me on [topic] in detail by adding all the information necessary”. | ||
|- | |- | ||
| '''22''' | | '''22''' | ||
Line 75: | Line 75: | ||
|- | |- | ||
| '''23''' | | '''23''' | ||
| When you have a complex coding prompt that may be in different files: “From now on | | When you have a complex coding prompt that may be in different files: “From now and on whenever you generate code that spans more than one file, generate a [programming language] script that can be run to automatically create the specified files or make changes to existing files to insert the generated code. [your question]". | ||
|- | |- | ||
| '''24''' | | '''24''' | ||
| When you want to initiate or continue a text using specific words, phrases, or sentences, utilize the following prompt: | | When you want to initiate or continue a text using specific words, phrases, or sentences, utilize the following prompt: | ||
*I'm providing you with the beginning [song lyrics/story/paragraph/essay...]: [Insert lyrics/words/sentence]. Finish it based on the words provided. Keep the flow consistent. | |||
|- | |- | ||
| '''25''' | | '''25''' | ||
Line 84: | Line 85: | ||
|- | |- | ||
| '''26''' | | '''26''' | ||
| To write any text, such as an essay or paragraph, that is intended to be similar to a provided sample, include the following instructions: | | To write any text, such as an essay or paragraph, that is intended to be similar to a provided sample, include the following instructions: *Please use the same language based on the provided paragraph/title/text /essay/answer]. | ||
|- | |- | ||
|} | |}<noinclude><ref name="”1”">https://arxiv.org/pdf/2312.16171.pdf/</ref> | ||
[[Category:Guides]] | ==References== | ||
<references/> | |||
[[Category:Guides]]</noinclude> |
edits