Customer profiling with Artificial Intelligence: Building Grocery Coupons from Everyday Lists using OpenAI

Estimated read time 2 min read

This is how I created coupons using OpenAI API on Python, in a few lines of code.

I am from Italy, and I just recently became a permanent resident in the United States. I live in Ohio, and I buy groceries from a well-known big grocery company.

One thing that sparked my attention is that the cashiers ask the customers to sign up for their special grocery card with a username and a barcode.
This grocery card is a reward for customers who end up saving more money than people without the card when they go and buy their groceries.
This is also very nice because it saves money on the gas station adjacent to the grocery store.

Of course, as a data scientist (and a pretty obsessed one too), I started to think of the implications of having all my grocery list saved in one card. And that makes me think of the sentence:

“Data is the new oil”

by Clive Humby, in the sense that, while for a non data scientist a grocery list of a person is just a means to do some gossiping, for a data scientist it is a means to do customer profiling of the customer behind the grocery list.

Customer profiling means that by using data, we are able to give “responses” that are more specific to the features of the customer of interest.

Now, obviously I didn’t invent customer profiling, and this grocery company that I was talking about does customer profiling already.

Every weekend, in my mailbox, I see grocery coupons.
I don’t want to patronize you with what a grocery coupon is, so I’ll talk about it very quickly. They are something like:

“Save 75 cents on the purchase of a 12 oz or Larger Brown Rice. Use it by 02/04/2021”

I am not sure if they do customer profiling and these are customer based grocery coupons, but I’d be very surprised if they weren’t.
People use Machine Learning to generate coupons all the time, and an article…

You May Also Like

More From Author

+ There are no comments

Add yours