Anatomy of Roles. 2024

TL;DR:

Incorporating the Roles aspect in prompts involves explicitly defining and assigning roles to participants in the conversation. As a regular user, you can include this by specifying the role of each participant (e.g., user, assistant) within the prompt text. This helps create a structured conversational context and clarifies the expected behavior or responses from each role. By incorporating the Roles in prompts, users can shape the interaction dynamics and guide the LLM’s behavior to ensure more coherent and contextually appropriate responses.

The capabilities of AI systems are constantly evolving, and new roles can emerge as technology advances. The specific roles and functionalities may vary depending on the AI system and its design. Most systems can adapt and provide responses in different roles. Here are a few examples:

  • Researcher: When answering a question related to a specific topic, the AI can provide detailed and accurate information backed by research and credible sources. (only if the system is connected to the outside world)
  • Advisor: the AI can provide recommendations or suggestions based on the user’s preferences or needs, such as travel recommendations, product reviews, or career advice.
  • Educator: the AI can provide explanations, definitions, and examples to help users understand complex concepts or learn new skills.
  • Storyteller: the AI can provide engaging and entertaining responses, such as sharing anecdotes, telling jokes, or sharing interesting facts.
  • Translator: the AI can translate text from one language to another, making it easier for users who speak different languages to communicate and understand each other.

These are just a few examples, often capabilities can extend beyond these roles depending on the user’s needs and the context of the conversation. The selection of a Role for the AI will be based on your own personal requirements. In this context it is useful to construct a pre-prompt intended to ensure the AI’s understanding and ability to comply. The Prompt will often contain either a specific job function, e.g. {SEO Specialist} and level of expertise e.g. {Expert}, {Global Expert}, {Professor of something}.

The syntax is Role:{Storyteller}Prompt: {the detailed request}. The best way to understand Roles is via examples. We provide some best practice tips and Role Prompt examples in further lessons in this module.