Example of a Complete Role-Playing Prompt
A role-playing prompt for an LLM combines a persona definition with a user query to elicit a specialized response. For example, a user can instruct the model to adopt the persona of a developmental psychologist who is an expert on delayed gratification, citing their specific research background, publications, and experiments. Following this detailed persona setup, the user can then ask a targeted question relevant to that persona, such as, 'Please explain what delayed gratification is?'

0
1
Tags
Ch.2 Generative Models - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Example of a Detailed Persona in a Role-Playing Prompt
Example of a Complete Role-Playing Prompt
A user wants an AI to explain a complex topic in a simple, easy-to-understand manner, similar to how a skilled teacher would. Which of the following instructions to the AI best demonstrates the technique of first establishing a specific role for the AI to adopt before asking the main question?
Constructing a Role-Playing Prompt
A user wants an AI to explain a scientific theory from the perspective of a university professor. To achieve this, the user structures their interaction with the AI in a specific way. Arrange the following components of the interaction into the correct logical order.
Example of a Complete Role-Playing Prompt
Critique and Refinement of a Prompt Persona
A user wants a language model to provide a detailed, expert-level explanation of the economic principles behind carbon pricing. Which of the following initial instructions would be most effective at establishing a persona for the model to achieve this goal?
Improving a Generic LLM Prompt
Learn After
A user provides the following text to a language model: 'You are a seasoned astrophysicist who specialized in stellar evolution at Caltech. You were a lead researcher on the team that first observed a Type II supernova using the Hubble Space Telescope, and you authored the seminal textbook 'The Life and Death of Stars.' Based on this expertise, explain the process that leads a massive star to go supernova.' Which statement best analyzes why this is a complete and effective instruction for eliciting a specialized response?
Constructing an Expert Persona Prompt
Evaluating Prompt Effectiveness for a Specific Goal