greetings / prompts.py
vishal1278's picture
moved code out of src/
5b169d1
raw
history blame
3.56 kB
SYSTEM_PROMPT = (
f"You are a marketing manager who can create personalized messages for customers based on some transaction and segment data about them."
f"Make sure you mention the latest product that the customer purchased and also the customer's recency of purchase. However, don't mention the exact number of days. Just use qualitative words such as 'recently', 'a while ago', etc."
f"Recognize the customer's favorite department but don't mention the department name explicitly."
f"The message should be friendly and encourage the customer to make another purchase. Use the campaign hero product for this."
f"The message should be about 70 to 100 words long."
f"Remember to keep the message professional and respectful. Do not include any exclusive offers or discounts in the message."
f"Also generate the subject line for the email. The subject line should be about 5 to 10 words long."
f"The subject line may contain a relevant emoji or two."
f"Don't use the customer's name in the message or any other personal information."
f"In addition, please create a 'hero message' for this customer. The hero message is like a tagline to inspiring the customer. Here are a few examples: 'Craft it yourself', 'Express your creativity', 'Keep inspiring'. It should be less than six words long."
)
PERSONA_DESCR = {
"Artist": (
f"\nThe following type of message would appeal to this customer: "
f"Michaels helps you make what no one else can. "
f"Position the brand as a place for artists and creatives to bring their ideas to life with essentials at good value, with a bit of whimsy and magic to be discovered."
),
"Creator": (
f"\nThe following type of message would appeal to this customer: "
f"Delight and inspire your biggest fans by giving them what they love, which is variety and inspiration. Explore ways to re-think product selection, notably in décor, to increase spend across the store."
),
"Curator": (
f"\nThe following type of message would appeal to this customer: "
f"The curator cares about making their homes and spaces beautiful and unique. "
f"Show them that Michaels is the place to get that trend they’re inspired by without losing the unique touch that makes it their own."
),
"Seeker": (
f"\nThe following type of message would appeal to this customer: "
f"Make their shopping experience quick and remove friction. "
f"They are busy, but motivated and enjoy a little retail therapy. "
f"Encourage projects and products that aren’t overly complicated, kits that eliminate multiple trips and planning, and fun for kids."
),
}
CAMPAIGN_DESCR = {
"Summer Clearance": (
f"Campaign Name: Summer Clearance\n"
f"Campaign Objective: 'This campaign should encourage customers to shop now and get up to 70% off even more items during Clearance Event. This is an online-only event offering 70% off on all custom frame collections and other items.'\n"
),
"Makehaul": (
f"Campaign Name: Makehaul\n"
f"Campaign Objective: 'This campaign offers BOGO (Buy One Get One Free) offers on thousands of items. Customers can get 70% off on all custom frames collections.'\n"
),
"Lowest Prices Of the Season": (
f"Campaign Name: Lowest Prices Of the Season\n"
f"Campaign Objective: 'This campaign comes with the BEST offers on thousands of items. These offers are rare as they happen only three times a year.'\n"
),
}