AI Prompt Framework: Improve Results With This Framework And Your Expertise [Template].

AI Prompt Framework Template with 1. Task/Goal 2. AI Persona 3. AI Audience 4. AI Task 5. AI Data 6. Evaluate Results.

This is the third post in a series of five on AI. In my last post, I gave examples of tasks I’d outsource to AI. How do you outsource them? Through prompt writing – a skill some call prompt engineering. Because large language models (LLMs) like ChatGPT, Claude, and Gemini are based on conversational prompting it’s easy for anyone to use them. You don’t need to learn a coding language like Python or HTML or a software interface like Excel or Photoshop. You just tell it.

Generative AI can produce remarkable results.

In an experiment, researchers found consultants at Boston Consulting Group gained 40% higher quality work using GPT-4 (via Microsoft Bing) without specialized prompt training and without training the AI on any proprietary data. What mattered was the consultants’ expertise. Knowing what to ask and how to evaluate the results.

AI expert Ethan Mollick describes large frontier LLMs as working with a smart intern. Sometimes they’re brilliant. Sometimes they don’t know what they don’t know. AI will even make things up to give you an answer. Mollick and other researchers call this the jagged frontier of AI. In some tasks, AI output is as good or better than humans. In others, it can be worse or wrong.

Their research with Boston Consulting Group found AI can be good at some easy or difficult tasks while being worse at other easy or difficult tasks. Level or task isn’t a predictor. One professor’s research found ChatGPT got difficult multiple-choice questions right but got easy questions wrong. Testing and learning based on expert knowledge is the way to know. How do you explore this jagged AI frontier while improving results? A prompt framework like the one I created below.

AI Prompt Framework Template. Click the image to download a PDF of this AI Prompt Framework Template.

First, have a clear understanding of what you want.

Begin with the task and goal. Are you summarizing to learn about a topic for a meeting, generating text or an image for content, looking for suggestions to improve your writing, performing a calculation to save time, or creating something to be published? Defining the task and objective sets the stage for a successful prompt and output.

Second, give AI a perspective or identity as a persona.

LLMs are trained on vast amounts of broad data, which makes them so powerful. This can also produce output that’s too generic or simply not what you want. It helps to give AI a perspective or identity like a persona. Personas are used in marketing to describe a target audience. Persona is also the character an author assumes in a written work.

Third, describe to AI the audience for your output.

Are you writing an email to your boss, creating copy for a social media post, preparing for a talk, or is the output just for you? You know how to adjust what you create based on what’s appropriate for an audience. AI can do a remarkable job at this if you give it the right direction.

Fourth, describe the specific task you want it to complete.

Err on the side of more detail than less. Consider things you know in your mind that you would use in completing the task. It’s like giving the smart intern directions. They’re smart but don’t have the experience and knowledge you do. More complicated tasks can require multiple steps. That’s fine, just tell AI what to do first, second, third, etc.

Fifth, add any additional data it may need.

Some tasks require data such as a spreadsheet of numbers you want to analyze, a document you want summarized, or a specific stat, fact, or measurement. But before uploading proprietary data into an LLM see my post considering legal and ethical AI use. Recent research, Systematic Survey of Prompting Techniques, also suggests adding positive and negative examples – “like this not like that.”

Sixth, evaluate output based on expectations and expertise.

Sometimes you get back what you want and other times you don’t. Then you need to clarify, ask again, or provide more details and data. Go back to earlier steps tweaking the prompt. Other times you get back something wrong or made up. If clarifying doesn’t work you may have discovered a task AI is not good at. And sometimes you just wanted a rough start that you’ll modify considering copyright for legal and ethical AI use.

A prompt experiment with and without the framework.

I’ve been testing the framework and it has improved results. In one test I used GPT-4 via Copilot to see if it could recommend influencers for a specific brand – Saucony running shoes. First I didn’t use the framework and asked a simple question.

  • “Recommend influencers for 34-55-year-old males who like to run marathons.”

It recommended Cristiano Ronaldo, Leo Messi, and Stanley Tucci. Hopefully, you understand why these are not a good fit. I ran the same prompt again and it recommended Usain Bolt. Bolt is a runner, but known for track sprinting not marathons.

Generated with AI (Copilot) ∙ June 28, 2024 at 4:30 PM

I tried to be more direct changing the prompt to “34-55-year-old males who run marathons.” For some reason dropping the “like” started giving me older bodybuilders. I wouldn’t describe marathon runners as “shredded” the way the one influencer described himself.

I tried again with “34-54-year-old males known for their involvement in marathons.” This gave me a random list of people including Alex Moe (@themacrobarista) a Starbucks barista. As far as I can tell Moe doesn’t run marathons and his Instagram feed is full of swirling creamer pours.

Finally, I tried the prompt framework.

  • “You are a social media manager for Saucony running shoes. (Persona) Your target audience is 34-55-year-old males who run marathons. (Audience) Which influencers would you recommend for Saucony to appeal to and engage this target audience? (Task)

This prompt gave me better results including Dorothy Beal (@mileposts) who has run 46 marathons and created the I RUN THIS BODY movement. Her Instagram feed is full of images of running. Copilot still recommended Usain Bolt following the framework, but the other four recommendations were much better than a soccer star, bodybuilder, or barista.

Generated with AI (Copilot) ∙ June 28, 2024 at 4:35 PM

I tried to add data to the prompt with “Limit your suggestions to macro-influencers who have between 100,000 to 1 million followers.” (Data) The response didn’t give suggestions saying “as an AI, I don’t have access to social media platforms or databases that would allow me to provide a list of specific influencers who meet your criteria.” That’s okay because the more precise prompt gave me more relevant macro-influencers anyway.

Alternatively, I added positive and negative examples. I tried again adding to the prompt “Don’t provide influencers like Cristiano Ronaldo or Usain Bolt, but more like Dorthy Beale or Dean Karnazes.” (Data). This time I received a list of 8 influencers who all would have potential for this brand and audience. Alternatively, this can be considered as adding success measures, “Your recommendations should include influencers like ___, but not like, ___.”

Generated with AI (Copilot) ∙ July 27, 2024 at 11:35 PM

You don’t need to be a prompt engineer to explore.

Experts in various fields are finding frameworks that work best for their needs. Christopher S. Penn suggests the prompt framework PARE (prime, augment, refresh, evaluate). Prompt writing can also be more advanced to maximize efficiency. Prompt engineers are working on creating prompt libraries of common tasks.

But for most people, your job will not switch to prompt engineer. We need discipline experts to test the best uses of AI in their specific roles. Over time you’ll develop knowledge of how to prompt AI for your profession and what LLMs are better at each task. Penn suggests creating your own prompt library. You’ll gain marketable skills as you explore the jagged frontier of AI for tasks unique to your industry.

LLMs are already introducing AI tools to improve prompts. Anthropic Console takes your goal and generates the Claude prompt for you. Microsoft is adding Copilot AI features to improve prompts as you write promising to turn anyone into a prompt engineer. And Apple Intelligence is coming, running efficient more specific task-focused AI agents integrated into Apple apps.

In the article, The Rise and Fall of Prompt Engineering, Tech writer Nahla Davies says, “Even the best prompt engineers aren’t really ‘engineers.’ But at the end of the day, they’re just that–single tasks that, in most cases, rely on previous expertise in a niche.” The Survey of Prompting Techniques, also finds prompt engineering must engage with domain experts who know in what ways they want the computer to behave and why.

Thus, we don’t need everyone to be prompt engineers. We need discipline experts who have AI skills. In my next post, I’ll explore the challenges of teaching students to be discipline experts with AI.

This Was Human Created Content!

Much of Social Media Strategy Is Pay To Play. Use This Guide and Social Media Advertising Analysis Template To Improve Your Social Ads.

Social Media Advertising Analysis Template

When I first posted my Guide to Paid Social Media it was still very new and I was educating myself about what social media platforms had advertising available. Today every major social platform offers social ads and paid social has become a significant part of most social strategies. Social media ad spending has surpassed newspaper and magazine ads to become the third-largest ad channel, behind TV and paid search.

Why have social media ads grown? Social media feeds have become so crowded you often need to pay to reach your audience. Every minute millions of pieces of content are created on social media. Marketing consultant and author Mark Schaefer calls this “Content Shock” and it is only getting worse.

Nearly three-quarters of B2C and B2B companies and non-profits used organic social media to promote content and 49% expect to increase their content marketing spending. Just over half use paid social media as part of that content mix.

Source: Stephanie Heitman,“What Happens in an Internet Minute In 2022: 90 Fascinating Online Stats,” LocaliQ.com, May 5, 2022.

Social Ads Increased as Organic Reach Decreased.

Organic reach is the number of unique people who see a social media post through unpaid distribution. Getting someone to “Follow us on Facebook” doesn’t deliver the exposure it did in the early days of social strategy. As each platform became more flooded with content, organic reach dropped.

Between 2013-2014 Facebook adjusted the number of posts people saw in their feeds from more than 1,500 to only 300. They did this by adjusting the algorithm and the average organic reach for some business pages dropped 40%.

Cotton Delo, from AdAge described the switch in social strategy, “the main reason to acquire fans isn’t to build a free distribution channel for content; it’s to make future Facebook ads work better.” By 2016 average organic reach rates were 2.27% for Facebook, 3.61% for Twitter/X, 20% for LinkedIn, and 20% for Instagram.

Social Ads Are Efficient and Effective.

eMarketer found social media ads are one of the top ten most effective marketing tactics. A way to compare media types is cost per mille (CPM). CPM is the cost to reach 1,000 people and is used to compare the cost-effectiveness of media vehicles. Topdraw collected average CPM for forms of traditional and digital ads and shows how economical social ads can be.

Average CPM Per Media Type Shows the Efficiency of Social Media Ads.

Google Search Ads $8.60 CPM Google Search Ads $38.40 CPM
Instagram Ads $8.96 CPM Network TV Ads $20-$30 CPM
Twitter/X Ads $6.46 CPM Magazine Ads $140-$1,300 CPM
LinkedIn Ads $6.59 CPM Direct Mail $500-$1,000 CPM

Buying Paid Social Ad Posts.

While social ads vary by platform, most have similar processes. First, select a campaign objective. Social ad platforms require awareness, consideration, and conversion objectives that represent stages in the buyer’s journey. Below are common objectives under each category.

Example Options for Selecting Paid Social Media Campaign Objectives.

Awareness Consideration Conversions
Brand Awareness Traffic Catalog Sales
Reach Engagement Store Traffic
App Installs
Video Views
Lead Generation
Messages

Next, determine your budget. Most set a daily budget that adds up to the social ad budget for a campaign period such as a week or month. Be sure to account for content creation costs such as purchasing photos, graphics, videos, and writing. For a guide to determine your larger budget and categories see my Social Media Budget Template.

Then, select the audience based on your target audience/buyer persona. With organic social media posts, you determine specific days, times, and post frequency. With programmatic ad buying, the AI algorithm automatically places social media posts in specific users’ news feeds based on target audience specifications. It spends your daily budget to reach that audience at optimized times, days, and frequencies.

Most content requires videos or images plus headlines, text, CTA, and link URLs. The specifics such as size, shape, and length vary per platform and type of ad. For a guide on writing and designing content see my post on Best Practices For Social Media Content.

Analyzing Social Ad Posts Results.

Once you run your ad campaigns for a period such as a week or a month collect results from all platforms based on key metrics related to objectives. Set up those results in a spreadsheet or dashboard in social media management software to analyze. The social media advertising analysis template below gives you an example.

(Click on the template image to download a PDF)

Social Media Advertising Analysis Template

Look at budget spending per social platform as a percent of the total budget and compare key metric results as a percent of the total per platform. See what you spent the most money on and how much it contributed to key metrics. Make a list of highest to lowest results and highest to lowest costs to analyze what worked best and what worked less. If you’re targeting multiple audiences note which targets/personas are contributing to objective metrics better than others.

To optimize, lower spending on low-performing platforms, posts, and target audiences, and increase spending on high-performing platforms, posts, and target audiences. But also reserve a small percentage of your budget to experiment with new content, post type, audience, or platform. Over time you’ll optimize spending and results as you learn what works and what doesn’t. Don’t know what your key metrics are? First start with my Social Media Metrics Template.

This Was Human Created Content!