In role prompting, the model is instructed to answer from the perspective of a particular person or function. This helps hit the right jargon, the appropriate level of detail, and a consistent tone. The role is often anchored in the system prompt so it applies across the whole conversation. Role prompting combines well with few-shot examples and clear task instructions.
Role Prompting
Role prompting is a technique in which you assign the AI model a specific role or persona, such as act as an experienced tax advisor. This shapes the tone, perspective, and expertise of the answer.
