Prompt engineering for text generation: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 31: Line 31:


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].
==Few-shot Standard Prompting==
[[Few-shot Standard Prompts]] have a task description, a few examples and then a prompt.
For example:
<code>
What is the capital city of this country?
United States: Washington D.C.
France: Paris
Ecuador:
</code>


==Prompt Engineering for Code Generation Models==
==Prompt Engineering for Code Generation Models==
370

edits