Prompt engineering for text generation: Difference between revisions

Line 18: Line 18:
==Structure of a Prompt==
==Structure of a Prompt==
===Instructions (Task Description)===
===Instructions (Task Description)===
Instructions or Task description tells the [[model]] what to do. What do you want, and how to create the output. How to use the context or examples. What to do with the query.
Instructions or Task description tells the [[model]] what to do. What do you want, and how to create the output. How to use the context or examples. What to do with the query. Clear instructions enable the model to deliver more accurate and relevant responses.


===Context (External Information)===
===Context (External Information)===
370

edits