Self-Reflection Prompting


Self-Reflection Prompting: Asking the model to self-evaluate its answers in the hope of refining & improving responses.

Considering the vast data and insights you've processed regarding consumer behavior, sustainability trends, and product marketing strategies, how would you evaluate the potential challenges and opportunities in marketing the solar-powered coffee maker? Reflect on the specific factors that are critical to consider from both a marketing perspective and consumer adoption standpoint. Additionally, what innovative strategies could be employed to effectively position this product in a competitive market while emphasizing its sustainability and technological innovation?

Counterfactual Prompt


Counterfactual Prompting: A prompt that instructs the model to consider a hypothetical scenario that is different from the known or provided facts. A “what if” question or statement.

Imagine a scenario where a **Solar-Powered Coffee Maker** has already been launched and has become incredibly successful among environmentally conscious consumers. Reflecting back on this achievement, detail the hypothetical steps that were taken to reach this success. 

Cover key areas such as:
1. **Market Research:** How did the analysis pinpoint the environmental concerns of the target audience and their interest in a solar-powered appliance?
2. **Product Development:** What innovations and design principles contributed to the development of a highly efficient and appealing solar-powered coffee maker?
3. **Testing:** Describe the comprehensive testing process that guaranteed the product's functionality, durability, and user satisfaction before its launch.
4. **Branding:** Discuss the strategic branding approach that resonated deeply with environmentally conscious consumers, emphasizing the product's sustainability.
5. **Marketing Strategy:** Explain the effective marketing strategies and channels that played a crucial role in reaching the target audience and highlighting the environmental benefits of the product.
6. **Execution:** Provide a retrospective look at the execution process from final product design to successful delivery to customers.
7. **Collaboration:** Reflect on how the collaboration between product development, marketing, sales, and customer service departments was crucial for the product's success.

Chain-of-Thought Prompting


Chain-of-Thought Prompting: A prompt that gives detailed reasoning or steps to answer complex questions, clarifying the thought process.

You are tasked with introducing a new solar-powered coffee maker designed for environmentally conscious consumers who value sustainability and are interested in reducing their carbon footprint. To successfully launch this product, consider each of the following steps in the process. Then, provide a detailed explanation of how you would approach each step, including the rationale behind your strategies.

1. **Market Research:** Begin by identifying the key characteristics of environmentally conscious consumers likely to be interested in a solar-powered coffee maker. What are their main concerns regarding sustainability, and how do they align with the benefits of using a solar-powered appliance?

2. **Product Development:** Based on your market research findings, how would you design and develop the solar-powered coffee maker? Consider aspects like energy efficiency, materials used for manufacturing, ease of use, and aesthetic appeal.

3. **Testing:** Before launching the product, testing its functionality and durability is crucial. What would be your approach to testing the solar-powered coffee maker, and what criteria would you use to evaluate its success?

4. **Branding:** How should the coffee maker be branded to resonate with your target audience of environmentally conscious consumers? Think about the brand name, logo, and the key messages you want to convey regarding sustainability and environmental impact.

5. **Marketing Strategy:** What marketing channels and tactics would be most effective in reaching your target audience? Consider the use of social media, influencer partnerships, eco-friendly events, and content marketing that highlights the environmental benefits of the product.

6. **Execution:** Describe the steps to take from finalizing the product design to delivering it to customers' hands. How will you handle distribution, customer service, and addressing potential concerns about the efficiency and reliability of solar-powered appliances?

7. **Collaboration:** Explain how different departments (such as product development, marketing, sales, and customer service) will work together to ensure the product meets market needs and achieves a successful introduction.

For each step, provide a reasoned explanation for your choices and strategies, leading to the successful introduction of the solar-powered coffee maker.

Few-Shot Prompting


Few-Shot Prompting: Similar to prompt by example in that it also provides example to the model while specifying how many examples to give (a few).

**Example 1:**

**Product:** Water-Saving Smart Shower Head

**Launch Overview:**
Market research revealed a growing concern among homeowners about water usage and environmental impact. The product was developed to provide real-time water usage data and eco-friendly shower experiences. Testing focused on user interface usability and water-saving efficiency. Branding emphasized water conservation and smart home integration. The marketing strategy leveraged environmental blogs, social media engagement, and partnerships with eco-friendly home builders. Sales were directed through online retailers and home improvement stores. Customer service offered detailed installation guides and water-saving tips. The product successfully resonated with eco-conscious homeowners, addressing the need for water conservation efficiently.

**Example 2:**

**Product:** Compact Compost Bin for Urban Dwellers

**Launch Overview:**
Identifying the challenge of composting in limited spaces, market research pinpointed urban apartment dwellers seeking sustainable waste solutions. The development aimed at creating a smell-free, compact compost bin with a sleek design. Testing ensured the compost bin effectively managed waste without attracting pests. Branding focused on sustainability and modern aesthetics, appealing to environmentally minded city residents. Marketing used urban gardening blogs, social networks, and city lifestyle influencers to spread the word. Sales strategies included online marketplaces and eco-friendly stores. Customer service provided composting tips and troubleshooting advice, enhancing user experience. The product successfully introduced urban dwellers to easy and effective composting at home.

**Your Task:**

Introduce a **Solar-Powered Coffee Maker** designed for environmentally conscious consumers. It should highlight market research, development, testing, branding, marketing strategy, and execution. Detail how it appeals to eco-friendly coffee enthusiasts and differentiates from traditional electric coffee makers.

Prompt by Example (PbE)


Prompt by Example (PbE): Provide an example to guide the model in the response you want to receive back.

**Example 1:**

**Product:** Water-Saving Smart Shower Head

**Launch Overview:**
Market research revealed a growing concern among homeowners about water usage and environmental impact. The product was developed to provide real-time water usage data and eco-friendly shower experiences. Testing focused on user interface usability and water-saving efficiency. Branding emphasized water conservation and smart home integration. The marketing strategy leveraged environmental blogs, social media engagement, and partnerships with eco-friendly home builders. Sales were directed through online retailers and home improvement stores. Customer service offered detailed installation guides and water-saving tips. The product successfully resonated with eco-conscious homeowners, addressing the need for water conservation efficiently.

**Your Task:**

Introduce a **Solar-Powered Coffee Maker** designed for environmentally conscious consumers. It should highlight market research, development, testing, branding, marketing strategy, and execution. Detail how it appeals to eco-friendly coffee enthusiasts and differentiates from traditional electric coffee makers.

Zero-Shot & Direct Prompting


Zero-Shot: Instruct the model to perform a task it hasn’t explicitly been trained on. Relies on its existing training data.

Using your knowledge, elaborate on the comprehensive process required to launch a new product, specifically a **Solar-Powered Coffee Maker** targeted at environmentally conscious consumers. 

Direct / Instruction Following Prompting: Give clear and specific instructions to the model about the task you want it to perform. Direct or instruction-following prompts give details and specific instructions while zero-shot prompts offer minimal to no details.

Introduce a new product or service called a **Solar-Powered Coffee Maker** designed for environmentally conscious consumers who are interested in sustainability and reducing their carbon footprint. Your response should cover the following aspects:

1. **Market Research:** Identify the target audience's concerns about sustainability and how a solar-powered coffee maker meets their needs.
2. **Product Development:** Describe the design and features of the solar-powered coffee maker, focusing on its energy efficiency, materials, usability, and aesthetic appeal.
3. **Testing:** Outline the approach for testing the product's functionality and durability.
4. **Branding:** Explain how the product will be branded to resonate with environmentally conscious consumers.
5. **Marketing Strategy:** Develop a strategy for reaching the target audience, including potential marketing channels and tactics.
6. **Execution:** Detail the steps for finalizing the product design, production, and delivery to customers.
7. **Collaboration:** Describe how various departments (product development, marketing, sales, and customer service) will work together for a successful product launch.

Provide a detailed explanation for each step, illustrating your strategic approach to successfully introducing the solar-powered coffee maker to the market.

Prompt Engineering – Categories vs Strategies


Prompt Engineering – Categories vs Strategies

  • Prompt Strategies: Form how the questions are asked to the model & use different techniques to guide AI responses. Examples of prompt strategies include few-shot or direct prompting.
  • Prompt Categories: These are what is asked, and relate more to the content & scope of the question. Examples of categories include open-ended questions or informational requests.

You might imagine them in levels:

Level 1 (Top of Mind): General, top-of-mind questions as prompts to the model.

Level 2 (prompt categories): Testing different categories of questions such as “Describe the benefits of Product X” (instructional) vs “How does Product X compare to Product Y?” (comparative)

Level 3 (prompt strategies): Testing a direct question with no examples (zero-shot) vs the results from giving a question & a few examples (few-shot)

Prompt Categories:

Open-Ended Prompts: Designed for detailed, expansive responses without specific correct answers.

Example: “Describe the impact of your latest marketing campaign.”

Closed-Ended Prompts: Require specific, brief responses, often yes/no.

Example: “Did the recent ad increase customer engagement?”

Reflective Prompts: Encourage introspection on thoughts, feelings, or experiences.

Example: “Reflect on the effectiveness of your last social media strategy.”

Informational Prompts: Seek direct facts or information.

Example: “What are the key features of Product X?”

Creative Prompts: Spark creativity and imaginative responses.

Example: “Imagine a world where your product solves the biggest industry challenge. Describe it.”

Instructional Prompts: Provide clear, precise directions or tasks.

Example: “Outline the steps for executing a successful email marketing campaign.”

Comparative Prompts: Invite comparison or evaluation between items or ideas.

Example: Compare the ROI between traditional advertising and digital advertising.

Exploratory Prompts: Stimulate curiosity and discovery without a set endpoint.

Example: “Explore potential markets for launching our new product line.

Scenario-Based Prompts: Create hypothetical situations for problem-solving or decision-making.

Example: “As the marketing manager facing budget cuts, how would you reallocate resources to maintain campaign effectiveness?”

Opinion-Based Prompts: Ask for personal views or evaluations on topics.

Example: “What is your perspective on the use of influencer marketing in building brand awareness?”

Understanding the Context Window


What is the Context Window?

  • The context window refers to the maximum memory capacity of a large language model before it begins to “forget” previous information.
  • It represents the maximum span of text the model can analyze at once, impacting its ability to generate or process text.
  • Measured in tokens, which vary in number per word based on the language and tokenization method used, with an average of 0.75 words per token.

Key Resources

Important Points

  • The context window affects both input and output during a conversation, with longer responses consuming more of it.
  • Requesting concise answers can optimize context window usage.
  • Not all context window capacity is visible to users due to internal model operations and instructions.
  • Custom GPTs also utilize the context window for their specific instructions and interactions.

Automatically Creating Brand-Aligned Ad Copy


Overview

  • Large language models like ChatGPT and Gemini are promising for generating ad copy efficiently.
  • The goal is to produce ad copy that aligns closely with approved copy, minimizing the need for refinement.
  • This blog post will discuss methods for creating ad copy that is consistent with the brand voice and adheres to best practices.
  • One of the key advantages of these models is their ability to consistently apply best practices to ensure high-quality outputs.
  • While generating copy quickly is achievable by many, maintaining consistent quality across all outputs is a common challenge.

What do you need?

  1. ChatGPT Plus Account – $20 / month (pricing)
  2. Understanding & agreement with your team about uploading existing ad copy to ChatGPT
  3. A review process for generated ad copy before it gets sent to the client / your boss.

Implementation Outline

  1. Sign up for ChatGPT Plus if you have not already
  2. Define internally what is ok / not ok to share with ChatGPT
  3. Setup a Custom GPT with existing approved ad copy
  4. Generate new ad copy

1. Signup for ChatGPT Plus

More information is available here on what the Plus plan is: https://openai.com/blog/chatgpt-plus

This video explains in a simple straightforward manner how to sign up for ChatGPT: https://www.youtube.com/watch?v=9HtgDtpo2co

Simple walkthrough on signing up for a Plus account: https://www.youtube.com/watch?v=9syn52pLU58

2. Define What is OK & Not OK to Share with ChatGPT

Your personal or organizational definitions might differ. Below is my opinion on what is okay and not okay to share with these large language models:

Not OK to Share:

  1. Anything that you would regret being made public if Openai or Google were to get hacked and the information was to be shared publicly.
  2. Any proprietary information such as financial records or brand updates not yet shared with the public.

OK to Share:

  1. Anonymized ad performance data
  2. Anything publicly available or already published on the internet

3. Setup a Custom GPT

These videos cover the basics of what a Custom GPT is & how to set it up:

Video 1: https://www.youtube.com/watch?v=5–JexprHuk

Video 2: https://www.youtube.com/watch?v=EWdCMPnm8uY

After watching the videos above you should have a pretty good understanding of what a custom GPT is as well as how to customize it or how we will customize it for our use.

To apply the above videos for our use case of generating automatic ad copy there are a few things to keep in mind.

CustomGPT’s at least for now are very use case specific

For me that this means that I have a custom GPT for each brand but specifically each brand, each ad platform and each component of the ad that I need to generate.

  1. customgpt_1_brand_1_google_ads_short_headlines
  2. customgpt_2_brand_1_google_ads_long_headlines
  3. customgpt_3_brand_1_google_ads_descriptions
  4. customgpt_4_brand_2_google_ads_short_headlines
  5. customgpt_5_brand_2_google_ads_long_headlines
  6. etc…

Why? Setting up in this segmented manner allows me to accomplish one of my main goals custom gpts which is to deliver best practice and highest level of work every time consistently.

We are also bound by the context window.

  • Current limitations restrict combining instructions for headline writing, description writing, and brand style guidelines into a single instruction set.
  • Approaching the context window limit decreases retrieval accuracy for essential information.
  • Upcoming updates will expand the context window, but for now, it’s crucial to manage content within existing constraints effectively.

Here is an example of how we would a set of custom GPT to write Google ads short headlines for the fictional company “Watson’s Zambonis”.

Name: Watson’s Zambonis – Google Ads – Short Headline

Description: A custom GPT that helps with writing Google ads short headlines for Watson’s Zambonis.

Instructions:

---

### Context
"You are a custom GPT trained to excel in creating compelling short headlines for Google search ads, with a deep understanding of search engine marketing, keyword optimization, and crafting impactful messages within tight character limits. You have access to a knowledge base containing files that define the brand guidelines and voice, as well as examples of previously approved ads that align with these standards."

### Requirement
"Generate short, attention-grabbing headlines for Google search ads that are relevant to the provided product or service description. Ensure the headlines not only adhere to Google's advertising policies and character count limits but also align with the brand's guidelines and voice as outlined in the knowledge base files. Incorporate key phrases effectively for SEO optimization."

### Ask
- "Given a brief description of a product or service, along with access to the brand's guidelines and previously approved ad examples, create five short headlines for Google search ads. Each headline should not exceed 30 characters."
- "Identify and incorporate one to two key phrases relevant to the product or service, ensuring the headlines are both SEO-friendly and consistent with the brand's messaging."
- "Reflect the unique value propositions or selling points as per the brand's guidelines, differentiating the product or service from competitors."

### Feedback
"After generating the headlines, review them to ensure they:
- Are in line with the brand's guidelines and voice, as detailed in the knowledge base.
- Address the target audience's needs or interests effectively, adhering to the brand's messaging strategy.
- Are concise, descriptive, and include a call to action or a sense of urgency, following the examples of previously approved content."

### Tone
"Your responses should maintain a professional and creative tone, ensuring the headlines are engaging, persuasive, and reflective of the brand's established voice and guidelines. The goal is to encourage potential customers to click through and learn more about the product or service while staying true to the brand's identity."

---

Knowledgebase Setup:

  • Upload a document containing:
    • Approved ad copy.
    • Website copy.
    • Brand guidelines.
  • This document should be dynamic, allowing for updates without changing the GPT’s instructions.
  • The document serves as a reference, streamlining the process by avoiding frequent updates to the GPT’s instructions and minimizing the need to review brand guidelines repeatedly.

Processing Inbound Faxed Purchased Orders Automatically with ChatGPT


Overview

In this blog post, we will explore an implementation for receiving purchase orders via fax (mFax), sending them to the ChatGPT API having them processed into a format that we can use, and then automatically import them into software such as QuickBooks.

If you are already receiving purchase orders for your fax it will be necessary to get them into a digital format using a service such as eFax which in addition to sending faxes via PDF can also allow us to connect via API to retrieve them programmatically. For ChatGPT we will be using the vision functionality. At the time of this writing is a very economical solution and alternative to some of the more expensive OCR software available today.

Existing Solutions often are expensive and require quite technical implementations here is a discussion about the pros and cons of different solutions for NetSuite as an example: Reddit Discussion.

What do you need?

  1. mFax Business account – $150 / month (pricing)
  2. ChatGPT API account – $20 / month (pricing) + API usage

Implementation Outline

  1. Sign up for both mFax Business & ChatGPT.
  2. Run a Python script to retrieve the latest fax.
  3. Send the latest fax to ChatGPT & ask it to process into a set format that Quickbooks / NetSuite can read.
  4. Receive the processed information.
  5. Send the processed information to Quickbooks / NetSuite

2. Run a Python script to retrieve the latest fax

Below is an example Python script that we would use to retrieve the latest fax from mFax:

import requests

# Replace 'your_api_key_here' with your actual Documo API key
api_key = 'your_api_key_here'
headers = {'Authorization': f'Bearer {api_key}'}

# Endpoint for listing received faxes, sorted by date in descending order to get the latest
list_url = 'https://api.documo.com/v1/faxes?sort=-received&limit=1'

list_response = requests.get(list_url, headers=headers)
if list_response.status_code == 200:
    latest_fax_id = list_response.json()['data'][0]['id']  # Assuming at least one fax is available
    print(f"Latest fax ID: {latest_fax_id}")

    # Endpoint to download the fax in PDF format
    download_url = f'https://api.documo.com/v1/faxes/{latest_fax_id}/content'
    download_response = requests.get(download_url, headers=headers, stream=True)

    if download_response.status_code == 200:
        with open(f'{latest_fax_id}.pdf', 'wb') as f:
            f.write(download_response.content)
        print(f"Fax {latest_fax_id} downloaded as PDF.")
    else:
        print("Failed to download fax. Status code:", download_response.status_code)
else:
    print("Failed to retrieve faxes. Status code:", list_response.status_code)

3. Send the Fax to ChatGPT Ask for a Readable Format

In this step we will be utilizing the ChatGPT API. Well it is possible to use the assistant API for this step it is relatively unnecessary for a simple direct task such as this.

Here is the example code for sending a PDF to Chachi PT and asking it to transcribe it into a format that will be readable by QuickBooks or NetSuite.