Ecommerce ops · Production

GoDaddy builds a scalable AI product categorization system using Amazon Bedrock batch inference

The problem

GoDaddy's existing product categorization used an out-of-the-box Meta Llama 2 model across six million SKUs, but the generated categories were often incomplete or mislabeled, and running individual LLM calls per product was too costly at scale.

First attempt

The out-of-the-box Meta Llama 2 approach produced categories that were frequently incomplete or mislabeled, and the per-product API call approach was prohibitively expensive for large-scale deployment.

Workflow diagram · grounded in source
1
Product JSONL uploaded to S3
Trigger
A JSONL file containing product data is uploaded to an S3 bucket, triggering the first Lambda function.
source quote
“A JSONL file containing product data is uploaded to an S3 bucket, triggering the first Lambda function”
2
Lambda spins up Bedrock endpoint
Integration
The Lambda function spins up an Amazon Bedrock batch processing endpoint and passes the S3 file location.
source quote
“The Lambda function spins up an Amazon Bedrock batch processing endpoint and passes the S3 file location”
3
Bedrock generates categorized output
Ai action
Amazon Bedrock reads product name data and generates a categorized output including category, subcategory, season, price range, material, color, product line, gender, and year of first sale.
source quote
“It reads the product name data and generates a categorized output, including category, subcategory, season, price range, material, color, product line, gender, and year of first sale”
4
Output written to S3
Output
The model output is written to another S3 location as a JSONL file.
source quote
“It writes the output to another S3 location”
5
Lambda monitors and terminates job
Integration
A second Lambda function monitors the batch processing job on Amazon Bedrock and shuts down the endpoint when processing is complete.
source quote
“It monitors the batch processing job on Amazon Bedrock. It shuts down the endpoint when processing is complete.”
6
LangChain parses output to CSV
Output
The output JSONL file is parsed using LangChain's PydanticOutputParser to generate a CSV file.
source quote
“This file is parsed using LangChain's PydanticOutputParser to generate a .csv file”
7
Human evaluation by GoDaddy SMEs
Human review
The generated categories were evaluated qualitatively by GoDaddy SMEs and found to be of good quality.
source quote
“The categories generated were evaluated qualitatively by GoDaddy SMEs. The categories were found to be of good quality.”
Reported outcome

The batch inference solution achieves 97% category coverage on both the 5,000 and 100,000 hold-out test sets, processes 5,000 products in 12 minutes (80% faster than the 1-hour requirement), and is 8% more affordable than the Llama2-13b proposal while providing 79% more coverage.

Reported metrics
Product catalog sizesix million products
Solution processing time for 5,000 products12 minutes
GoDaddy maximum processing time requirement5,000 products in 1 hour
Processing latency improvement vs requirement80% faster
Show all 12 reported metrics
product catalog sizesix million products
solution processing time for 5,000 products12 minutes
GoDaddy maximum processing time requirement5,000 products in 1 hour
processing latency improvement vs requirement80% faster
solution cost vs Llama2-13b proposal8% more affordable
category coverage vs Llama2-13b proposal79% more coverage
category coverage on hold-out test sets97%
computation time scaling from 5k to 100k sampleseight times
inference time increase for individual vs batch (100k products)approximately 40 times
format parsing latency reduction via prompt engineeringapproximately 77%
near real-time inference per product2 seconds per product
qualitative category quality assessmentof good quality
Reported stack
Amazon BedrockLangChainPydanticOutputParserOutputFixingParser
◆ Does this fit your context?

Compare to your context

Tell us your scale, team, and constraints. We'll show what changes at your size, what fails at your scale, and whether this case is a fit, needs adaptation, or won't scale to you. Free demo, no signup.

Compare to your context →
~30 seconds · free
Source
https://aws.amazon.com/blogs/machine-learning/how-godaddy-built-a-category-generation-system-at-scale-with-batch-inference-for-amazon-bedrock?tag=soumet-20
Read source ↗

Frequently asked questions

What did this team achieve with this AI workflow?

The batch inference solution achieves 97% category coverage on both the 5,000 and 100,000 hold-out test sets, processes 5,000 products in 12 minutes (80% faster than the 1-hour requirement), and is 8% more affordable…

What tools did this team use?

Amazon Bedrock, LangChain, PydanticOutputParser, OutputFixingParser.

What results were reported?

Product catalog size: six million products; Solution processing time for 5,000 products: 12 minutes; GoDaddy maximum processing time requirement: 5,000 products in 1 hour; Processing latency improvement vs requirement: 80% faster (source-reported, not independently verified).

What failed first in this deployment?

The out-of-the-box Meta Llama 2 approach produced categories that were frequently incomplete or mislabeled, and the per-product API call approach was prohibitively expensive for large-scale deployment.

How is this ecommerce ops AI workflow structured?

Product JSONL uploaded to S3 → Lambda spins up Bedrock endpoint → Bedrock generates categorized output → Output written to S3 → Lambda monitors and terminates job → LangChain parses output to CSV → Human evaluation by GoDaddy SMEs.

WHAT TO DO WITH THIS

Now compare it to your context

This case is one data point. Whether its pattern fits you depends on your volumes, your stack, and your exception load — that comparison is the step no case study can do for you.