Role Prompting
A method of assigning the model a specific role to carry out a task. This approach lets the model imitate a particular personality, profession or character, which can lead to more specialized or context-aware answers.
| Advantages | Drawbacks |
|---|---|
| Produces specialized answers | Can limit the model's objectivity |
| Can improve the consistency and style of answers | Effectiveness depends on how precisely the role is described |
| Useful for creative and role-play tasks | Can lead to stereotyped or biased answers |
Role Prompting example:
Imagine you are an experienced chef of Italian cuisine. Your task:
1. Suggest a recipe for a traditional Italian pasta.
2. Explain which ingredients are key to this dish and why.
3. Give advice on how to serve this dish properly.
4. Tell the story of this recipe in the Italian culinary tradition.