[Demo] How to re-categorize content at scale using LLMs
Summary
In this brief demonstration, we'll see how to use OpenAI's API and a few open source command line tools to re-categorize content in a 1,000+ page website. The techniques demonstrated can be extended to other common content organization tasks.
Key Insights
-
•
Manual retagging of 1,200 blog posts would take about 10 hours, but leveraging GPT-4 reduced active human time to about 2 hours.
-
•
Using GPT-4 via command line and shell scripts enables automated tagging outside typical chat interfaces.
-
•
An organically grown taxonomy over 20 years contained unclear acronyms and inconsistent tag forms that GPT initially struggled with.
-
•
Cleaning and standardizing the taxonomy before prompting GPT is critical for effective AI assistance.
-
•
A review step of AI-suggested tags in CSV format allows human correction to avoid hallucinations entering production.
-
•
GPT-4 can propose new and useful tags outside the original taxonomy, enriching content classification.
-
•
The four-step GRU framework (Gather, Review, Update, Wrap up) balances automation with human oversight.
-
•
Storing blog content as markdown files simplifies integrating AI workflows via scripting and file manipulation.
-
•
The approach is adaptable and scalable to other CMS platforms by replacing scripting with API calls.
-
•
Taxonomies should use clear, unambiguous terms to improve both human and AI understanding.
Notable Quotes
"Some of the older content has discoverability problems, which is typical with blogs."
"Doing this tagging manually would have taken me around 10 hours of mind-numbing work."
"I’m actually using GPT-4, but not via the chat interface—I'm calling it from the Mac’s command line."
"I had to clean the taxonomy up because GPT wouldn’t know what to do with acronyms like TAOI."
"I save the proposed tags to a CSV file so I can preview and edit them before applying the changes."
"A middle review step prevents hallucinations from making it into the production site."
"GPT-4 functioned as an assistant not just in retagging but also in improving the taxonomy itself."
"The entire process took about three hours from start to finish, about a fifth of the manual time."
"Use clear and obvious terms in taxonomies—unusual acronyms won’t make sense to GPT or others."
"You need to review proposed changes before committing them to production, otherwise errors sneak in."
Or choose a question:
More Videos
"A regular heartbeat and familiar structure are really important principles to keep a community alive."
Marc Fonteijn Ru ButlerIncrease your confidence, influence, and impact (through a Professional Community)
December 3, 2024
"My ideal state would be to sprout like a potato. That explains everything else."
Dem Gerolemou Alexis Oh Neef RehmanClimate technology fundamentals
May 15, 2024
"We use a holistic methodological approach combining explicit and implicit quantitative methods to fully get the user's perspective."
Daniela Magaña Flores Ariane Rahn Jeff Ephraim BanderAhead of Competition: Learn What UX Benchmarking Can Do for Your Business Today
March 10, 2022
"Hands-on activities like practicing user interviews and design sprint sketches gave people courage to try UX tactics in the real world."
Abbey Smalley Sylas SouzaScaling UX Past the Size of Your Team
January 8, 2024
"Anything below zero on the design staffing score indicates we’re staffing lower priority projects over higher ones."
Patrick CommarfordDesign Staffing for Impact
January 8, 2024
"You either give money as an unprofessional civilian or you do your job and offer professional services to help the crisis."
Xenia Adjoubei Sean BruceEmpowering Communities Through the Researcher in Residence Program
March 29, 2023
"Make it easy to do the right thing, and as a side effect, make it harder to do the wrong thing."
Craig VillamorDesign Systems for Ethical Design
January 26, 2023
"This isn’t more work—it's consolidating work that’s already happening scattered across tools into one connected place."
Jon Fukuda Ellie KryslDesign Planning and Management Support
October 3, 2023
"Leadership needs to give specific directions to open up space for collaboration and inclusion."
Iain McMaster IHan ChengDesign and Product: from Frenemy to Harmony
November 29, 2023
Latest Books All books
Dig deeper with the Rosenbot
How can teams create lightweight visibility systems that improve workload transparency without reducing productivity?
What hidden costs should be accounted for beyond license fees when budgeting for research tools?
What are the financial barriers preventing birth centers from operating sustainably in rural areas?