← back to pre-work

What we use representations for

Three of the surfaces where a user representation becomes personalization fuel — with real data.

A user representation is the answer to “what is this user like?” — and any product surface that has to make that decision can pull from it.

Principle to follow

LCM representations are consumable by LLMs, so you can use them in any LLM application.

Below are three of the most common uses, each with the actual input the representation contributes and the actual output it helps produce.

Use 01

Re-ranking — same retrieval, smarter order

Existing search returns a candidate list ordered by popularity. The representation re-orders it for this specific user, using their food preferences and temporal patterns. Cheapest first bet because it sits on top of what you already have.

The actual profile text pulled in
§ Food Preferences · pizza signals
“Consistently chooses healthy pizza options, prefers cauliflower or vegan crusts and lighter cheeses. Avoids heavy mozzarella. Pairs with fresh basil and vegetables. Single portion preference, not family-size.”
+
Original ranking (from search)
1Pizza Hut4.4★
2Domino’s4.3★
3Fit de Fato4.6★
4Habib’s4.5★
re-ranks to
Re-ranked for this user
1Fit de Fato↑ 2
2Pizza Hut↓ 1
3Habib’s↑ 1
4Domino’s↓ 2
Use 02

Push notifications — what to say, when, to whom

A CRM agent decides which item to surface, what tone to write in, and when to send. Persona, temporal patterns, and food preferences from the representation drive the targeting; the LLM generates the copy.

The actual profile text pulled in
§ Persona
“Targeted, high-basket orderer for group dinners. Weekend dinner-driven. Loyal to proven merchants.”
§ Temporal Patterns
“Strong Friday and Saturday dinner pattern, R$ 100+ average basket. Rarely orders weekday breakfast or lunch.”
+
Recommended items (from reco system)
Pizza Hutfamily-size combos
Madureira Grillpork picanha
Cantina Italianabeef parmigiana
Dingo Smash Burgerdouble cheeseburgers
LLM generates
iFood · now
Your Favorite Pizza Awaits! 🍕🔥
Don’t miss the chance to try 4 amazing flavors now!
iFood · 2m ago
Juicy Pork Picanha is Waiting! 🥩🔥
Try the best Pork Picanha in the region. Order now!
iFood · 5m ago
Try the Beef Parmigiana! 🍽️
Discover a new flavor with meat and cheese that will win you over!
Use 03

Query expansion — turn a two-word search into the right result

A short query like “pizza” tells you almost nothing about what the user actually wants. The representation fills the gap: the LLM expands the query into an “ideal match” description for the specific user, and that expansion is what hits semantic search.

The actual profile text pulled in
§ Food Preferences · pizza preferences
“Pizza preferences: cauliflower or vegan crusts, lighter cheeses (cashew-based preferred over heavy mozzarella), fresh vegetables. Single portion not family-size.
+
User’s search query
🔍pizza
LLM expands
Expanded query
A healthy pizza, preferably with a vegan or cauliflower crust, light cheese (cashew-based, no heavy mozzarella), fresh vegetables — single portion not family-size.
semantic search
Top result returned
Fit de Fato — Vegan Margherita Pizza
Whole-grain vegan dough, fresh basil, cashew-based cheese, organic tomato sauce.