Merge pull request #143 from taolicd/patch-5

Update elements.en.mdx
pull/147/head
Elvis Saravia 2023-04-22 14:10:10 -06:00 committed by GitHub
commit ebf93fd2b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -1,15 +1,15 @@
# Elements of a Prompt
As we cover more and more examples and applications that are possible with prompt engineering, you will notice that there are certain elements that make up a prompt.
As we cover more and more examples and applications with prompt engineering, you will notice that certain elements make up a prompt.
A prompt can contain any of the following components:
A prompt contains any of the following elements:
**Instruction** - a specific task or instruction you want the model to perform
**Context** - can involve external information or additional context that can steer the model to better responses
**Context** - external information or additional context that can steer the model to better responses
**Input Data** - is the input or question that we are interested to find a response for
**Input Data** - the input or question that we are interested to find a response for
**Output Indicator** - indicates the type or format of the output.
**Output Indicator** - the type or format of the output.
Not all the components are required for a prompt and the format depends on the task at hand. We will touch on more concrete examples in upcoming guides.
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.