Fdaytalk Homework Help: Questions and Answers: What is an example of using roles in prompt engineering?
a) “Create a chart that shows monthly sales totals over the past four years.”
b) “Summarize the history of China in no more than 5000 words.”
c) “Describe the features of a new smartphone to a non-technical user.”
d) “Write a horror story about a haunted mansion in a remote forest.”
e) I don’t know this yet
Answer:
First, let’s understand what “roles” in prompt engineering means:
Roles in prompt engineering is like assigning a specific character, profession, or perspective to the AI to generate more contextually appropriate and targeted responses.
Now, let’s analysis each option to solve the given question:
Given options: Step by step analysis
a) “Create a chart that shows monthly sales totals over the past four years.”
- This prompt is asking for a specific type of output (a chart) but does not specify a role or perspective. It is more of a data request.
b) “Summarize the history of China in no more than 5000 words.”
- This prompt is asking for a summary but does not specify a role or perspective. It is a straightforward informational request.
c) “Describe the features of a new smartphone to a non-technical user.”
- This prompt specifies a role (explaining to a non-technical user), which implies that the response should be simplified and even understandable to non-technical users. This is a clear example of using a role in prompt engineering.
d) “Write a horror story about a haunted mansion in a remote forest.”
- This prompt specifies a genre (horror story) but does not specify a role or perspective. It is focused on a type of creative output.
e) “I don’t know this yet.”
- We’ll consider this if none of the other options seem correct.
Final answer:
Based on the above analysis, the correct answer is:
c) “Describe the features of a new smartphone to a non-technical user.”
This prompt uses a role by implicitly asking the AI to explain technology in simple terms to a non-technical audience. This role guides the AI to adjust its language and explanations accordingly.
Learn More: Fdaytalk Homework Help
Q. Which technology is essential for an organization to have in place to effectively use generative Al?