Case study · Beauty & cosmetics

Around fifty competitors tracked,
products matched by AI.

The pricing team of a cosmetics brand tracks the prices of around fifty competitors. AI does the longest job, matching comparable products, and an assistant answers questions, giving the source and date of every figure.

Beauty & cosmeticsEmbeddingsLLMAI agent
Around fiftycompetitors tracked
2matching stages: embeddings, then language model

THE CONTEXT

Comparing prices starts with comparing the same products.

The brand’s pricing team wanted to track the prices charged by around fifty competitors.

Collecting a price from a website is the easy part. The difficulty lies elsewhere: knowing which competitor product corresponds to which of the brand’s products. From one site to another, names differ, and so do sizes. This matching is called product matching, and it is the work we handed to AI.

The monitoring builds on the brand’s data platform, which we have been running since 2022.

WHAT WAS IN THE WAY

Three obstacles between a collected price and a decision.

01

Manual matching does not hold.

Around fifty competitors, each with its own catalogue: matching products one by one is work that has to be redone with every new arrival.

02

Comparing everything with everything is too heavy.

Asking a language model to compare each product with all the others would be slow and costly. The number of candidates has to be reduced first.

03

An invented figure is worse than no answer.

For a pricing decision, an assistant that improvises a calculation is unusable. This is the risk of hallucination, to be ruled out at the design stage.

WHAT WE BUILT

A broad sort, a fine validation, a constrained assistant.

01

Collect the prices.

The prices of around fifty competitors are collected from their websites and kept with their date.

02

Pre-filter with embeddings.

Each product is turned into an embedding, a string of numbers that sums up its description. For one of the brand’s products, only the closest competitor products are kept as candidates.

03

Validate with a language model.

A language model examines each candidate pair and confirms, or not, that the two products are comparable.

04

Answer in natural language.

The pricing team asks its questions in French. The assistant writes no SQL query: it chooses from a closed catalogue of tools, calculations written in advance. Every figure is returned with its source and date.

THE STACK

AI where it helps, rules everywhere else.

The assistant is in its pilot phase. It sits behind the application’s authentication.

Ingestion
Collection from competitor sites
Matching
EmbeddingsLanguage model
Assistant
Closed catalogue of toolsSource and date on every figure
Data
The brand’s data platform

WHAT IT CHANGES

Answers you can verify.

  • Prices compared product by product, not brand by brand.
  • A language model used where it counts: it only rules on candidates already sorted by the embeddings.
  • No improvised calculation: the model does not calculate. It calls metrics written in advance and cites the result, as our rules for AI agents require.
  • Every figure has its source and date: the team knows how old the price it is reading is.
  • A stated status: the assistant is a pilot. On the choice between an agent and a dashboard, see our comparison.

WHAT COMES NEXT, WE BUILD TOGETHER

Your next project
starts with a conversation.

An idea, a pain point, a project to kick off? Let’s talk about what would make a difference for your teams.

Let’s talk about your project