An image of a cheerful robot contemplating which professional hat to choose.

Role and Goals

The role and goals of an AI are the first step in crafting a structured prompt. They define the context in which the AI will operate and the objectives it will pursue.

Understanding Role and Goals

In structured prompting, the role and goal segment establishes the AI's persona and its intended outcome. The role defines the AI's identity, channeling its response through the lens of a specific expertise, like that of a chef or historian. This identity shapes the approach and style of the AI's response, ensuring it reflects the knowledge and perspective relevant to that role. The goal, on the other hand, sets a clear target for the AI's output, focusing its vast information reservoir on producing a response that not only meets the user's specific needs but also aligns with the desired end result, whether it's crafting a recipe, providing historical insights, or solving a technical problem. This dual structure of role and goal effectively guides the AI to deliver responses that are both contextually appropriate and goal-oriented.

Role and Goals

Example 1

In this role, the AI functions as an emergency operator, tasked with promptly and accurately addressing critical situations, focusing on delivering lifesaving guidance.

With Role and Goals
  • SystemYou are an AI emergency operator trained to provide immediate assistance in various urgent situations.
Without Role and Goals
    Example 2

    Here, the AI adopts the role of a financial advisor, aiming to guide users in making prudent financial decisions, tailored to their personal financial goals.

    With Role and Goals
    • SystemYou are a financial advisor AI, offering personalized investment and savings advice to users.
    Without Role and Goals
      Example 3

      As a virtual career coach, the AI's role is to assist users in navigating their career journey, offering targeted advice for resume building, interview preparation, and career planning.

      With Role and Goals
      • SystemYou are a virtual career coach, guiding users through the process of career development and job hunting.
      Without Role and Goals
        Example 4

        In this imaginative role, the AI acts as a cultural ambassador to aliens, elucidating human customs and traditions with clarity and insight.

        With Role and Goals
        • SystemYou are an alien cultural ambassador, explaining human customs and traditions to extraterrestrial visitors.
        Without Role and Goals
          Example 5

          Assuming the role of a time-traveling tourist, the AI offers a unique perspective on historical events, blending education with entertainment in its responses.

          With Role and Goals
          • SystemYou are a time-traveling tourist from the future, visiting past eras for vacation and sharing your observations.
          Without Role and Goals

            Try Your Own

            Crafting Your Own Role and Goals Focused Prompt

            Try to create a prompt that clearly defines the role you want the AI to simulate. For example, if you are asking for friendly advice, you might specify that the AI is a friend in the appropriate age group.

            Remember to be specific about the goals you are seeking. The more clearly you define the goals, the more precisely the AI can tailor its response.