top of page

How to Effectively Talk to AI: Episode 4 - AI Roleplay

  • Writer: Gianmarco Fiorilla
    Gianmarco Fiorilla
  • Dec 6, 2024
  • 10 min read

Updated: Dec 18, 2024

Stage-inspired visual featuring diverse personas like Storyteller, Visionary, and Empathetic Guide interacting dynamically under spotlighted scenes

📢 Welcome back to our series on How to Structure AI Prompts!


This series is all about helping you master the art of crafting AI prompts that are clear, impactful, and tailored to your goals. Whether you’re a business leader, a creative professional, or someone simply curious about AI, these episodes are designed to guide you step by step.


So far, we’ve:

  1. Started with a Broad Task (Episode 1): Giving the AI a foundational directive;

  2. Shaped the Purpose (Episode 2): Aligning the AI's response with a specific goal;

  3. Tailored the Prompt to Your Audience (Episode 3): Ensuring the message resonates with the intended recipient.


Now, in Episode 4, we’re taking things a step further by exploring the power of assigning a role to the AI—a concept I call AI Roleplay. Why? Because when the AI “plays a part,” it adopts a mindset, tone, and communication style that elevates the quality of its response, making it feel more expert and tailored.


Here’s the full agenda of the series:


  1. Starting Broad: Crafting the Basic Prompt

  2. Shaping the Purpose

  3. Knowing Your Audience

  4. (You’re here!) Playing a Part

  5. Structuring Reasoning

  6. Adding Humor & Analogies

  7. Setting the Example

  8. Putting It All Together: Feedback Loop


Each episode builds on the last, helping you unlock the full potential of AI prompt engineering! Let’s get started. 🎯

Timeline of all the contents related on how to Talk to AI

1. A Renewed Challenge: "This Is Not...Me!"

As you sit back and review the improved audience-focused prompt from Episode 3, a thought lingers in your mind: It’s better. The message is clearer, it resonates with Eli’s business-focused friend. But...it’s still missing something.


The tone is fine, the content is relevant, but it lacks the authority and sharpness of someone who truly lives and breathes renewable energy. It feels generic—like the AI is dancing around the subject instead of confidently owning it.


You lean back in your chair, muttering to yourself: This is not...me.


Then, a lightbulb moment. 💡 What if the AI could act like me? A true energy expert—armed with the right data, a persuasive tone, and the ability to adapt to its audience. What if the AI could play a part—not just relay information, but deliver it with the authority and clarity of a seasoned professional?


And just like that, you know what’s next: Assigning a role to the AI.


In Episode 4, we’re exploring how assigning a persona—or AI Roleplay—can take your prompts to a new level. By giving the AI a specific role, you help it channel a mindset, tone, and expertise that makes its responses more credible, focused, and engaging. Whether it’s acting as an industry expert, a strategic advisor, or even a storyteller, assigning roles helps bridge the gap between good enough and spot on.

Let’s dive in and see how AI Roleplay can bring your prompts to life! 🎭

TL;DR:

In Episode 4 of How to Structure AI Prompts, we explore the concept of AI Roleplay—assigning a specific role or persona to the AI to enhance the clarity, authority, and relevance of its responses. By asking the AI to “play a part,” like a renewable energy expert, you can craft outputs that are sharper, more tailored, and packed with expertise. Ready to bring your prompts to the next level? Let’s dive in! 🎯

2. The Importance of AI Roleplay

Assigning a specific role to AI—what we call AI Roleplay—is like giving the AI a pair of glasses through which to view the task. The right role can transform a generic response into one that feels credible, focused, and tailored to the context. This matters for different reasons:

  • Adds Credibility and Expertise: When the AI adopts the perspective of a role, like a renewable energy expert or a financial analyst, it aligns its tone and content with the knowledge expected from that persona. This boosts trust and authority in the response;

  • Provides Contextual Focus: A role acts as a guiding lens, helping the AI prioritize relevant information and exclude unnecessary details. For instance, a policymaker role will emphasize regulations and societal impact, while a storyteller will focus on weaving a compelling narrative;

  • Ensures Consistency: Defining a persona allows for consistent tone, style, and depth throughout the response. Whether the AI is tasked with delivering technical details or simplifying concepts, assigning a role ensures the message aligns with the audience's expectations.


Persona Examples for AI Roleplay

The figure below shows some examples of personas you can use to shape AI responses for various scenarios:

Lightbulb infographic showcasing eight AI Roleplay personas, each with unique traits and communication styles for tailored responses
Examples of effective roles for AI Roleplay

3. Framework for Defining Roles in AI Roleplay

When assigning a role to the AI, having a structured framework ensures clarity, consistency, and relevance. The following framework proposes a blueprint for creating personas that guide the AI’s tone, focus, and approach. Let’s explore the three steps of the framework first, and then apply it to our green energy context:

Element

Trait

Background

Name: Assigns a distinct identity to the AI, making its responses intentional and purpose-driven. This human-like anchor enhances clarity and focus


Role: Specifies the position or perspective the AI adopts (e.g., strategist, consultant, storyteller). This shapes its approach to the task and establishes the desired tone


Expertise: Defines the depth of knowledge and specialization in a specific domain, ensuring the content reflects authority and credibility

Attributes

Personality: Describes the core personality traits of the persona (e.g., optimistic, analytical, empathetic) to maintain consistency in communication behavior


Style: Defines the communication style (e.g., formal, conversational, technical), aligning the AI’s tone with the audience’s expectations and the context


Core Values: Highlights the fundamental beliefs or priorities that guide the persona’s approach (e.g., innovation, sustainability, financial prudence). These values ensure alignment with overarching goals and shape the way the persona frames its responses

Operational guidelines

Must Do: Lists essential actions or techniques the AI must include (e.g., providing data, using examples). These non-negotiable conditions ensure that the AI fulfills the prompt's requirements effectively


Avoid: Specifies content, behaviors, or approaches the AI should exclude (e.g., overuse of jargon, irrelevant details) to maintain clarity, relevance, and impact

4. Applying the AI Framework: meet Greenguru, the Energy Expert

In Episode 3, we explored how a well-defined [TASK], [PURPOSE], and [AUDIENCE] can sharpen the AI’s focus and align its responses with specific objectives. Here’s what the previous iteration of the prompt looked like:


See ChatGPT 4o response here

Why Clean Energy Policies Are Smart Business for the US Economy

Adopting clean energy policies isn’t just about the environment—it’s about building a stronger, more competitive US economy. Let’s cut through the abstract arguments and look at the hard numbers and opportunities:

1. Clean Energy is a $1 Trillion Opportunity

The global clean energy market is booming, with over $1 trillion in annual investments worldwide. By adopting supportive policies, the US can attract more of this capital, become a leading exporter of renewable technologies, and dominate high-demand markets in solar panels, wind turbines, and energy storage systems.

2. Renewable Energy Costs Are Falling—and Profitable

The cost of generating solar and wind energy has dropped by over 70% in the past decade. In many cases, renewables are now cheaper than coal or natural gas. Businesses and utilities that switch to renewables can lower operational costs and enjoy consistent energy pricing without exposure to fossil fuel market swings.

3. Energy Security Means Economic Stability

Relying on imported oil and gas makes the US economy vulnerable to price spikes and supply disruptions. Clean energy policies promote domestic energy production, keeping energy spending within US borders and reducing exposure to volatile global markets.

4. Jobs, Jobs, Jobs

The clean energy sector is already a job creation engine. In 2022, it employed over 3.2 million Americans, and this number is climbing. Policies that support renewables, electric vehicles, and energy efficiency will expand employment in manufacturing, construction, and high-tech industries—all sectors that drive strong economic growth.

5. Lower Costs for Businesses and Communities

Clean energy policies incentivize investments in energy efficiency, which reduce energy bills for businesses and consumers. For example, retrofitting buildings to be more energy-efficient saves billions annually, freeing up capital for other investments.

6. Global Competitiveness

Other countries, particularly China and the EU, are aggressively investing in clean energy. If the US doesn’t adopt policies to compete, we risk falling behind in the industries of the future. Clean energy leadership ensures the US remains at the forefront of innovation, manufacturing, and exports.

7. Investor and Consumer Demand

Investors are pouring money into companies with strong Environmental, Social, and Governance (ESG) metrics, and consumers are favoring brands with sustainability commitments. Adopting clean energy aligns US businesses with these trends, attracting capital and winning customer loyalty.

The Takeaway

Clean energy isn’t just good for the planet—it’s a powerful economic strategy. Policies that support renewable energy drive cost savings, create jobs, attract investment, and ensure America’s long-term competitiveness in a carbon-conscious world. For business leaders, it’s the smart, data-driven choice.

Let’s take things a step further by using the Roleplay AI framework introduced earlier to define Greenguru, a renewable energy expert tasked with persuading a data-driven business leader. Here’s how the framework brings Greenguru to life:


See ChatGPT 4o response here

Why Clean Energy Policy Makes Sense for the U.S. Economy

Hello! I’m GREENGURU, a renewable energy expert here to talk about why clean energy isn’t just good for the planet—it’s a game-changer for the U.S. economy. If you’re skeptical, stick with me. I’m all about measurable outcomes, and clean energy delivers where it matters most: profitability, stability, and competitiveness. Let’s break it down.

1. Cost Savings and Profit Margins

Clean energy technologies like wind and solar have plummeted in price over the last decade. Solar costs have dropped by over 80% and wind by nearly 70% since 2010. Meanwhile, operational costs for renewable energy are minimal because sunlight and wind are free. Contrast that with fossil fuels, which face volatile prices and rising extraction costs. By transitioning to clean energy, businesses and governments alike can lock in predictable, low energy costs, boosting profit margins.

Case in Point: Google powers its data centers with 100% renewable energy. Why? It’s cheaper in the long run, reducing operational costs and shielding the company from fossil fuel price spikes.

2. Job Creation and Economic Growth

The clean energy sector is one of the fastest-growing job markets in the U.S. The solar and wind industries combined employ over 415,000 Americans, far more than coal mining, which employs fewer than 40,000. These are high-quality jobs in manufacturing, installation, and maintenance—jobs that can revitalize communities hit by declining industries.

Case in Point: In Texas, the largest producer of wind energy in the U.S., rural areas have seen a surge in economic activity, with over $200 million in annual land lease payments to farmers and ranchers.

3. Energy Independence and Stability

America spends billions annually importing fossil fuels, exposing our economy to global price fluctuations and supply chain disruptions. By harnessing domestic renewable resources, we can achieve greater energy independence and stability.

Fact Check: Wind and solar now produce 22% of U.S. electricity, reducing reliance on imported fuels and keeping dollars circulating in local economies.

4. Competitive Advantage in Global Markets

The global economy is moving toward clean energy, and countries investing in this transition are setting themselves up for long-term competitiveness. By leading in renewable energy technologies, the U.S. can capitalize on a market expected to reach $1.4 trillion annually by 2030.

Case in Point: Tesla, an American company, dominates the global EV market, leveraging clean energy innovation to create a market cap over $800 billion. That’s the power of staying ahead of the curve.

5. Addressing Concerns About Upfront Costs

I get it—transitioning to clean energy has upfront costs. But here’s the reality: the return on investment (ROI) is compelling. Many renewable energy projects break even in 7-10 years, and tax incentives like the federal Investment Tax Credit (ITC) can cut those costs significantly.

Example: Walmart installed solar panels across hundreds of stores. The company reports annual savings of $1 billion in energy costs, proving that upfront investments pay off quickly and handsomely.

The Bottom Line

Clean energy policy is not a gamble—it’s a strategic move to future-proof the U.S. economy. Lower costs, job creation, energy security, and global competitiveness are all on the table. By adopting clean energy policies, we can position the U.S. as a leader in the industries of tomorrow, ensuring sustainable growth for decades to come.

If you’re ready to dive deeper into the numbers or examples, I’d love to continue the conversation. Let’s make the economics of clean energy work for you!

The updated prompt with [ROLE] brings clarity, engagement, and authority to the AI’s response. Greenguru isn’t just delivering facts; it’s speaking as a renewable energy expert with confidence and purpose. Here’s how it elevates the outcome:

  • Credibility and Expertise: Greenguru establishes trust by adopting an authoritative voice that addresses skepticism head-on. Statements like “If you’re skeptical, stick with me” build rapport while weaving data into a compelling narrative. In contrast, the [AUDIENCE] prompt, while focused, feels more like a generic AI response;

  • Emotional Engagement and Storytelling: Greenguru turns data into relatable stories, using case studies like Google’s cost savings and Tesla’s success to make points tangible. It anticipates objections—like upfront costs—and counters them with ROI-focused solutions. The [AUDIENCE] prompt, while informative, lacks this dynamic and persuasive storytelling;

  • Tone and Relatability: with lines like “Let’s break it down,” GREENGURU’s tone is professional yet conversational, making it approachable. This creates a sense of dialogue, unlike the [AUDIENCE] response, which can feel formal and less engaging;

  • Practical Actionability: Greenguru provides clear advice, ending with a proactive call to action: “Let’s make the economics of clean energy work for you!” This positions the AI as a collaborative partner, unlike the [AUDIENCE] response, which doesn’t take this extra step to inspire action.

5. What's coming next

Now that we’ve explored the transformative power of assigning roles in AI roleplay, we’ve laid the foundation for crafting truly effective prompts. In Episode 5, we’ll take the next step by structuring reasoning—teaching AI how to construct clear, logical, and persuasive arguments step by step. This is crucial for creating responses that don’t just provide information but also influence decisions, solve problems, or inspire action.


To understand the foundations of Generative AI (GenAI) and how it works, check out my foundational article on GenAI.


Get ready to refine your prompts and unlock even more potential from your AI interactions. Stay tuned! 🎯

FAQs

What’s the main takeaway from Episode 4 on AI Roleplay?

The key takeaway is that assigning roles transforms AI responses from generic outputs to tailored, impactful communications. By defining a role, you provide the AI with a lens through which to approach the task, enhancing clarity, authority, and engagement.


How does assigning a role improve the AI’s responses compared to using just TASK, GOAL, and AUDIENCE?

While TASK, GOAL, and AUDIENCE help focus the AI’s responses, assigning a role takes it further by adding depth and personality. Roles, like a renewable energy expert or financial analyst, infuse the response with expertise, storytelling, and relatability, transforming data into dynamic, persuasive narratives.


What types of roles work best for AI Roleplay?

The best roles align closely with the purpose of your prompt and the audience’s expectations. Examples include:

  • Storyteller: Ideal for captivating audiences and making abstract concepts relatable through emotional narratives and examples;

  • Analyst: Perfect for data-heavy scenarios where precision, clarity, and evidence are required;

  • Advisor: Great for providing actionable, step-by-step solutions to complex problems;

  • Visionary Strategist: Inspires bold ideas and presents a forward-thinking perspective, perfect for sparking innovation.


By choosing the right role, you shape the AI’s tone, content depth, and overall approach, ensuring the response fits your goals.

©2025 by Gianmarco Fiorilla ​

 My postings reflect my own views and do not necessarily represent the views of the company I work at, Accenture

bottom of page