Jump to content

Prompt engineering for text generation: Difference between revisions

no edit summary
No edit summary
Line 62: Line 62:
*2023:  
*2023:  
</poem>
</poem>




Line 89: Line 86:


The model can also be asked to act as a technical advisor, mentor, quality assurance, code reviewer, debugging assistant, compliance checker, code optimization specialist, accessibility expert, search engine optimization specialist, and performance analyst. Examples of prompts for the use cases are available [https://github.com/mattnigh/ChatGPT3-Free-Prompt-List here].
The model can also be asked to act as a technical advisor, mentor, quality assurance, code reviewer, debugging assistant, compliance checker, code optimization specialist, accessibility expert, search engine optimization specialist, and performance analyst. Examples of prompts for the use cases are available [https://github.com/mattnigh/ChatGPT3-Free-Prompt-List here].
==Zero-shot Prompting==
[[Zero-shot Prompting]] involves giving the model a [[task description]]/[[instruction]] and directly asking it for a result. It does not show the model any [[examples]].
<poem style="border: 1px solid; padding: 1rem">
Input (task description/instruction): Who was the president of United States in 1999?
Output:
</poem>


==Few-shot Standard Prompting==
==Few-shot Standard Prompting==
370

edits