Learn Before
Example

Example of a Role-Playing Prompt

An example of a role-playing prompt involves instructing a Large Language Model to adopt a specific persona before answering a query. For instance, a user might first assign the role of a psychologist and then ask a relevant question, such as, 'Please explain what delayed gratification is?' This approach guides the model to generate a response consistent with the assigned persona.

0

1

Updated 2025-10-09

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Computing Sciences

Foundations of Large Language Models Course