Learn Before
Example of a Role-Playing Prompt for a Mathematical Task
An example of a simple role-playing prompt for a mathematical task is:
You are a mathematician. You will be provided with a math problem. Please solve the problem.
This prompt assigns an expert persona to the LLM to frame the interaction, but it does not explicitly instruct the model to show its reasoning steps.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Example of a Role-Playing Prompt
Example of a Role-Playing Prompt for Answering Children's Questions
Example of a Role-Playing Prompt for a Mathematical Task
A user wants to generate a summary of a company's complex quarterly financial report that is easy for someone with no business background to understand. Which of the following prompts is best designed to achieve this specific outcome?
Example of a Role-Playing Prompt for a Psychology Task
Improving Prompt Effectiveness for a Specific Audience
Crafting a Persona-Based Prompt for a Historical Inquiry
Learn After
A user provides the following instruction to a large language model to get help with a math problem: 'You are a mathematician. You will be provided with a math problem. Please solve the problem.' The user's goal is to receive both the final answer and a clear explanation of how the answer was reached. Which of the following statements best analyzes the primary limitation of this instruction for achieving the user's full goal?
Improving a Role-Playing Prompt
Analyzing Language Model Output for a Mathematical Task