Saturday, November 25, 2023
HomeMarketingTips on how to use ChatGPT to generate product descriptions at scale

Tips on how to use ChatGPT to generate product descriptions at scale


We would like extra high quality content material for our web sites, nevertheless it’s tough to supply sufficient. So how can we scale the content material creation course of, particularly for ecommerce websites with loads of merchandise?

For those who have been to pay for a copywriter to supply hundreds of product snippets from scratch, you’d doubtless be out of pocket fairly shortly.

What if you happen to pay for 1,000 new product descriptions, however solely half of these merchandise dwell one month later? Clearly, you want a sooner, less expensive method. That is the place ChatGPT may help.

ChatGPT’s native net interface is basically useful and an amazing time-saver. 

But when we now have a whole lot or hundreds of product descriptions to create, there’s a extra environment friendly manner of utilizing ChatGPT with out copying and pasting prompts. Right here’s how.

Mass manufacturing of content material snippets: Scaling the output

When you’ve got an ecommerce web site, you would possibly want to produce product snippets utilizing information from a product info administration (PIM) system. 

Let’s say you could have the information on a spreadsheet.

Product data spreadsheet

We are able to use Excel formulation to concatenate (or be a part of, utilizing the “&” operator) information into wealthy prompts, prepared for ChatGPT. For instance:

Data Concatenate 800x395

Be aware that your method might require one or a number of “IF” statements. That’s as a result of your information might have holes in some areas. 

For instance, some merchandise might not have sure parameters (information inside sure columns) specified. You want your method to be versatile, and you may all the time ask ChatGPT that will help you write the method.

Product description prompt
Product description prompt 1

As soon as your method is returning a immediate for every row (on this case, for every product), you’ll be able to copy and paste just a few of the generated prompts right into a phrase processor, even notepad. 

It’s good to spot-check just a few to make sure the textual content is smart, even when some information gadgets have been lacking.

Spot check prompts

After getting verified that your Excel (or Google Sheets) method is producing the sorts of prompts that you really want, you’ll be able to ship just a few of them to ChatGPT (manually, utilizing the net interface) to see if you happen to just like the outcomes.

The generated snippet(s) will doubtless require human editorial oversight, although you need to get the AI to do as a lot of the work as attainable. That’s why we engaged in such a deep “prompt-crafting” course of.

Blissful along with your preliminary prompts and responses? Good, then it’s time to maneuver on.


Get the day by day e-newsletter search entrepreneurs depend on.


Fetching your new product content material snippets from OpenAI

So, you now have an inventory of merchandise (or different sorts of webpages) which you’d wish to generate content material for. 

On this instance, we’re going with a fictitious pattern of 100 merchandise. You now have an inventory of all of your merchandise (both separated by URL, SKU or another distinctive identifier). 

These merchandise even have assigned wealthy prompts which you could have generated. However ChatGPT’s net UI is restricted. So how will you ship these throughout unexpectedly?

For this, you’re going to must get comfy with fundamental scripting and with dealing with API requests. You’ll be able to create an OpenAI API account to entry the ChatGPT net interface. 

I put collectively a fundamental Python script for my company. Whereas I can’t share the script, I can evaluate among the processes and documentation wanted.

Ought to I want to syndicate this script later, constructing it on marketing-accessible endpoints and applied sciences could be greatest. As such, I first produced an Excel sheet:

ChatGPT checker

The sheet merely gives an space to dump gadgets for processing (recognized by some distinctive identifier within the “Merchandise Title” column, on this case, product title). As well as, the prompts to be processed can be positioned right here. 

One other tab accommodates parameter settings for the request. (You’ll be able to find out about all these through OpenAI’s documentation.) 

A few of these settings fine-tune content material creativity allowance, uncommon wording deployment, max token spend per request and even content material redundancy. That is additionally the place the OpenAI API secret is saved.

As soon as a sure button inside the spreadsheet is clicked, the Python script launches mechanically and handles the remainder:

Python script

First, the script defines the request / endpoint URL. After this, the script sends the request headers and the request information. 

Most parameters for the request header / information, could be tweaked inside the spreadsheet pictured beforehand. 

Lastly, the response textual content is obtained from OpenAI and logged inside the “information dump,” one other separate spreadsheet. 

I’ve three scripts for this deployment, although just one must run. I even have two separate spreadsheets, each of that are wanted.

As soon as the script resolves all the queries, all the snippets of textual content are saved right here:

Final output

Wanting on the above output, you might have some content material uniqueness issues. 

Whereas all the snippets start with the precise phrase (“Introducing the [product name]”), the produced content material will get extra various throughout the generated paragraphs. So, it’s not as dangerous because it seems. 

Additionally, there are issues you are able to do to try to make every generated snippet much more distinctive, equivalent to categorically asking the AI to generate distinctive content material (although it’s important to be fairly agency and repetitive on this regard to get anyplace). 

You can even tweak the temperature and frequency parameters to regulate content material creativity and keep away from redundant language.

Weaving these applied sciences collectively (OpenAI’s API, Excel, Python), we are able to shortly verify generated textual content snippets for all enter prompts. 

From right here, it’s as much as you what you need to do with that newly processed information. 

I extremely suggest transferring it right into a format your editorial staff can perceive. 

We have now considerably mitigated a lot of this by crafting very wealthy prompts. Nevertheless, you’ll be able to by no means make sure till you test the output.

ChatGPT output notes

Assuming that you just’re completely happy to work with ChatGPT, there are a few issues to remember:

  • Let’s discuss the associated fee. It is robust to present a value breakdown for utilizing OpenAI’s GPT-4 mannequin of ChatGPT through their API. It is not simply the enter phrase rely of the immediate or the output phrase rely. Pricing revolves across the AI’s “considering time.” Extra advanced requests will use extra tokens and value extra (even when the enter / output phrase rely is diminished).
  • Our check batch of 100 prompts from pattern information price us solely $1.74 to run and return. We generated 22,482 phrases of content material total. 22,482 phrases of content material for $1.74 appears good, however there’s rather more to contemplate.
  • Attributable to AI’s propensity to deduce, a human editorial course of continues to be basically required (in our opinion).
  • Nevertheless, utilizing this expertise does rework a expensive from-scratch content material creation activity into a way more cost-effective content material enhancing activity.
  • The information / AI specialist’s time for immediate crafting and working scripts should even be factored in.
  • On prime of inferring the place information is missing, AI may also “creatively infer” issues. In our pattern information set, the AI determined to deduce the existence of a sizing information (clothes) inside the produced product content material. If no sizing information existed, that will look fairly foolish.
  • At all times ship AI content material by a human editorial evaluate course of for fact-checking, accuracy and (most significantly) further artistic aptitude.
  • You’ll be able to additional automate ChatGPT by plugging in initiatives like Auto-GPT. These AI ‘brokers’ add extra lively processing and tasking energy to ChatGPT. Nevertheless, initiatives like this nonetheless want your OpenAI API key. And as a consequence of their infancy, they will chew up lots of credit earlier than they be taught to carry out duties to straightforward.

Scaling your content material creation course of with AI

AI can scalably produce various snippets of content material which are match for function with minimal intervention.

For long-form content material, it’s most likely nonetheless higher to make use of the interface and iterate the AI’s responses.

Opinions expressed on this article are these of the visitor creator and never essentially Search Engine Land. Employees authors are listed right here.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments