Prompt engineering for text generation: Difference between revisions

Line 29: Line 29:


===Output Indicator===
===Output Indicator===
The output indicator signifies the beginning of the generated text. For instance, when generating Python code, the word "import" may be used to indicate that the model should start writing Python code, as many Python scripts begin with the "import" statement. The output indicator helps to maintain the desired format and structure of the response.


==Building Prompts==
==Building Prompts==
370

edits