---
title: "Understanding Etsy’s Vast Inventory with LLMs"
description: "Etsy extracts structured product attributes such as color, material and dimensions from unstructured listing titles, descriptions and photos using LLMs."
url: "https://swe.quest/articles/understanding-etsy-s-vast-inventory-with-llms-1fa28367e98029f1"
canonical: "https://www.etsy.com/codeascraft/understanding-etsyas-vast-inventory-with-llms"
source: "Etsy Code as Craft"
published: "2025-10-13"
difficulty: "medium"
kind: "Case study"
reading_minutes: 7
tags: ["llms","evals","ecommerce","search","data-pipelines"]
---

# Understanding Etsy’s Vast Inventory with LLMs

A post on [Etsy Code as Craft](https://swe.quest/sources/etsy.md), published 2025-10-13, 7 min read, Case study. Original: [https://www.etsy.com/codeascraft/understanding-etsyas-vast-inventory-with-llms](https://www.etsy.com/codeascraft/understanding-etsyas-vast-inventory-with-llms)

## Summary

Etsy extracts structured product attributes such as color, material and dimensions from unstructured listing titles, descriptions and photos using LLMs. It does this because sellers rarely fill optional attribute fields, and passing raw text and images into search would add too much latency. The pipeline injects per-listing JSON context (listing data, expert-picked few-shot examples, taxonomy rules) into parallel prompts routed through LiteLLM across regions, then validates outputs with Pydantic. Evaluation moved from error-prone human labels to expert-reviewed "silver labels" from frontier LLMs, and each run first scores a ground-truth sample and aborts if precision or recall drift from baseline. In target categories, complete attribute coverage rose from 31% to 91%, and LLM-inferred attributes in search filters raised filter engagement and conversion.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [E-commerce](https://swe.quest/tags/ecommerce.md) (Domains)
- [Search](https://swe.quest/tags/search.md) (Backend & APIs)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)

## Prerequisites

- LLM prompting basics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- precision and recall metrics ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))

## Keywords

Etsy, LiteLLM, Pydantic, Honeycomb, silver labels

## Related posts

- [Building Etsy Buyer Profiles with LLMs](https://swe.quest/articles/building-etsy-buyer-profiles-with-llms-e896fd97e009f13b.md): Etsy Code as Craft · 2025-09-03 · Medium · 6 min read · Recommendations & ranking, LLMs, Search, Data pipelines, Cost optimization
  Etsy is experimenting with LLM-generated buyer profiles that infer each shopper's style, category interests and current shopping missions from recent searches, views, purchases and favorites, emitting structured output with confidence scores and an explanation.
- [How Etsy Uses LLMs to Improve Search Relevance](https://swe.quest/articles/how-etsy-uses-llms-to-improve-search-relevance-3911d99788b5bd04.md): Etsy Code as Craft · 2026-01-16 · Medium · 10 min read · Search, LLMs, Evaluation, Model training, E-commerce
  Etsy built an LLM-powered semantic relevance framework that complements engagement signals, which favor popular listings, with judgments of how well listings match query intent across three classes: relevant, partially relevant and irrelevant.
- [Shaping Product Understanding with Contrastive Reinforcement Learning](https://swe.quest/articles/shaping-product-understanding-with-contrastive-reinforcement-learning-dd8440354bbdc8d2.md): Etsy Code as Craft · 2026-05-26 · Hard · 9 min read · Model training, LLMs, Search, Recommendations & ranking, E-commerce
  Etsy fine-tunes Qwen3-VL-8B with GRPO to generate natural-language listing summaries that capture distinguishing product details buried in long descriptions, attributes and images.
- [Context engineering case studies: Etsy-specific question answering](https://swe.quest/articles/context-engineering-case-studies-etsy-specific-question-answering-ff89774f7981cc63.md): Etsy Code as Craft · 2025-08-19 · Medium · 11 min read · RAG & retrieval, LLMs, Evaluation
  Etsy tested whether prompt engineering over embedding-based retrieval, without fine-tuning, could reliably answer Etsy-specific questions.
- [Clustering billions of products for agentic commerce with Catalog API](https://swe.quest/articles/clustering-billions-of-products-for-agentic-commerce-with-catalog-api-20619778c8b2f613.md): Shopify Engineering · 2026-06-17 · Medium · 13 min read · LLMs, E-commerce, Vector search, Algorithms, Evaluation
  Shopify's Catalog groups billions of merchant product listings under Universal Product Identifiers (UPIs) using a precision-first pipeline.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
