2023-03-11 02:21:43 +00:00
# Elements of a Prompt
2023-04-19 04:10:10 +00:00
As we cover more and more examples and applications with prompt engineering, you will notice that certain elements make up a prompt.
2023-03-11 02:21:43 +00:00
2023-04-19 04:10:10 +00:00
A prompt contains any of the following elements:
2023-03-11 02:21:43 +00:00
**Instruction** - a specific task or instruction you want the model to perform
2023-04-19 04:10:10 +00:00
**Context** - external information or additional context that can steer the model to better responses
2023-03-11 02:21:43 +00:00
2023-04-19 04:10:10 +00:00
**Input Data** - the input or question that we are interested to find a response for
2023-03-11 02:21:43 +00:00
2023-04-19 04:10:10 +00:00
**Output Indicator** - the type or format of the output.
2023-03-11 02:21:43 +00:00
2023-04-19 04:10:10 +00:00
You do not need all the four elements for a prompt and the format depends on the task at hand. We will touch on more concrete examples in upcoming guides.