Building Lapponica: what we learned teaching software to understand clothes

Amir Nouri 1 min read

ミントとミストの淡い色調の背景に、服のシルエットの線画と「Building Lapponica」「Lapponica開発記」の文字。

Building Lapponica

What we learned teaching software to understand clothes

Lapponica is a fashion platform we build at Orrery. Shoppers chat with a stylist that puts together whole outfits from real pieces in real shops. You can build a look around one item you already like, upload a photo and ask for outfits like it, or open a preview of a look on a model before deciding. For retailers, the same work sits underneath as a layer that understands apparel (style, fit, colour, category) and matches pieces as people ask.

The idea sounds simple. Building it was not. This post covers the problems we ran into and how we're tackling them, in product terms. How it's built stays out, on purpose.

A concept flow: three ways to ask (chat, one item, a photo) lead to understanding the garments by style, fit, colour and category, then building the outfit, then shop-ready looks made of real, buyable pieces.
From a request to shop-ready looks. A simplified concept, not how it is built.

1. Catalogues describe clothes, but they don't understand them

A product page is written to sell one item. It has a title, a few photos and a description, and every shop writes them differently. Nothing on the page says "this jacket is smart-casual, sits at the hip, and works with wide trousers." A person reads that from the picture in a second. Software doesn't.

Our first versions trusted the words too much. One test request asked for jeans with belt loops. The shop text did mention belt loops, but the system read the words as a belted waist and returned the wrong thing. It looks like a small slip, but the cause was bigger: it couldn't tell the difference between "this item doesn't have that feature" and "we simply don't know."

The approach we're taking: treating every feature of a garment as present, absent, or unknown, read from both the description and the pictures. When the text says nothing, the picture fills in. When someone asks for a feature, items known to have it should come first, unknown ones next, and items known not to have it should be left out.

Lesson: "unknown" is a real answer. Treating missing data as "no" quietly hides good products.

An illustrative messy product listing for wide denim pants turned into a clean list of traits: category, fit, colour, style and belt loops marked present, a built-in belt marked absent, and occasion marked unknown.
Describing clothes vs understanding them: every trait is present, absent or unknown. Illustrative listing; this is the approach we're taking.

2. Product data is messy, and it ages

Brands label things in their own ways. Some products arrived with no department at all, so we couldn't even tell whether an item was menswear or womenswear. Many items had no occasion or style information, and when a result missed on "occasion", the cause was usually an empty field rather than poor matching.

What we changed: we went back to each brand's own shop to settle gaps like departments, and we made filling in missing descriptions its own piece of work instead of hoping better matching would cover it up.

Lesson: a smarter matcher can't fix a blank field. Clean, complete product understanding is most of the job.

3. An outfit is not a list of items

Finding one good shirt is search. Finding a shirt, trousers, shoes and a bag that look intentional together is composition. We studied how outfits are put together and settled on an order of priorities: occasion and formality first, then fit and silhouette, then colour, then pattern and texture, then accessories, with one focal point per outfit. When rules conflict, suitability for the occasion beats colour theory, and colour theory beats trends.

Composition also brought its own bugs. When a shopper kept two or three pieces and asked us to build around them, a kept bag or jacket could quietly drop out of the result if it clashed with another kept piece, and nothing said why.

Where we're heading: we're moving to a rule that pieces the shopper chooses to keep always stay in the outfit, with the stylist saying when a combination is a stretch instead of silently swapping.

Lesson: what the user chose matters more than what the system thinks is optimal.

Outfit-building priorities: first lock the pieces the shopper keeps, then occasion and formality, fit and silhouette, colour, pattern and texture, and accessories. A board shows a kept bag locked while top, bottom and shoes are filled in.
How an outfit comes together. Locking the shopper's kept pieces is the rule we're moving to.

4. "Like this" has to look like this

Photo-based search was one of the features people wanted most: upload a picture, get outfits like it from what's actually for sale. Our early results matched occasion and style well but drifted on colour. A look built around a red dress could come back with black and beige dresses. Whatever the score said, a shopper would see in a second it wasn't "like this."

The approach we're taking: set a quality bar before shipping, measure against it, and tune colour specifically until results keep the look's colours.

Lesson: pick the failure a person notices first, and fix that before anything else.

A line drawing of a red dress is read as red accent colour, feminine style and a dinner occasion, then rebuilt into two outfits that keep the red. A third set of black and beige dresses is crossed out as not looking similar to a shopper.
From a photo to “outfits like this”. Line drawings, not real photos. Checking colour first is the bar we're tuning towards.

5. Fast enough to feel like a conversation

A stylist that takes too long to answer stops feeling like a conversation. Speed also changes as the catalogue grows. At one point the growing catalogue outgrew the room we'd given it, and the shop stopped answering until we fixed it. Adding and removing large batches of items also slowed down over time, because removed products kept weighing on every step.

What we changed: we gave the system room to grow, and we now treat catalogue updates as something to measure and speed up, starting with clearing out data that no longer matters.

Lesson: a performance problem today is often a growth problem from last month. Watch the trend, not just the number.

6. Two languages, one understanding

Lapponica is for shoppers in Japan and beyond, so it works in Japanese and English. Translating the screen text is the easy part. Fashion vocabulary doesn't map one-to-one, and the small details give a product away: prices written as "¥5,000" in a Japanese answer where "5,000円" reads naturally, or English labels slipping into a Japanese reply.

What we changed: the understanding of clothes itself has no language. Japanese and English are two ways of asking about the same pieces. Every change that adds text a shopper reads is checked for both languages, and we're moving to a native read for all Japanese copy.

Lesson: bilingual is a rule you follow on every change, not a translation pass at the end.

The same request in Japanese and in English leads to one shared understanding (wide fit, trousers, smart casual), which answers with the same pieces in the shopper's language, with prices written the local way and no stray labels.
Two languages, one understanding. The native read of all Japanese copy is in progress.

7. Honest results when stock runs out

Fashion stock moves fast. When we looked closely, a large share of items were sold out in every size, and most generated outfits had at least one sold-out piece. Hiding sold-out items after the outfit was built left very few outfits.

Where we're heading: we're moving availability into the building of the outfit, instead of treating it as a filter at the end. The aim is outfits designed from what can actually be bought, regular stock checks, and no checkout for items that aren't available. When the closest buyable look goes over budget, the stylist should say so.

Lesson: a beautiful outfit you can't buy is worse than no outfit. It costs trust.

8. Previews, cost, and saying what you mean

Seeing a look on a person helps people decide, so we added a preview that shows an outfit on a model. It's useful, and it's easy to overpromise. We label previews clearly as AI-generated images and say that colour and fit may differ from the real thing. We don't present them as more than a preview.

Every new image also costs money. The approach we're taking is to reuse a preview once it has been made, draw new ones from a clear allowance, and keep the feature easy to switch on or off without a release.

The same honesty applies to the stylist's words. We found requests where part of the ask, such as a character or motif, was dropped without a word and the shopper got a generic answer. The fix we're moving to is the same every time: if the stylist can't do part of what was asked, it should say so.

Lesson: trust comes from small admissions. "I couldn't find that colour" is better than a confident wrong answer.

What we'd tell anyone building AI for retail

A grid of the eight challenges in this post, each with its one-line lesson, from “unknown is a real answer” to “say what you couldn't do”.
Eight challenges, eight lessons.
  • Understand the product before you match it. Most of the quality comes from the data, not the model.
  • Keep the user's choices. Never silently override what someone picked.
  • Design for what's buyable. Availability belongs inside the answer, not after it.
  • Set the bar before you measure, and fix the failure people see first.
  • Say what you couldn't do. Clarity beats confidence.

Lapponica is still growing, and these lessons still shape it. You can try it at lapponica.shop.


Orrery builds AI products and helps companies put AI to work. We offer a free audit: online up to 60 minutes or on site, followed by a customized AI plan.

Next step

Tell us how your work flows. We’ll show you where AI saves the most time.

Free AI audit (30 min)