Cart Upsell
Suggest complementary items for any cart. The model reads the cart cuisine, dietary status, and categories, then ranks the dishes that round out the order.
- Tonkotsu Ramen
- Chicken Gyoza
The menu to draw suggestions from. Paste your own menu to upsell against it, one item per line.
The playground caps the menu at 50 items and the cart at 12. The API itself handles far larger menus per call.
Verification is not set up here, so live runs are paused. You can still browse the examples.
What the model read from the cart
- Green Teabeveragecuisine
No beverage in cart
score1.000 - Ramune Sodabeveragecuisine
No beverage in cart
score1.000 - Matcha Ice Creamdessertcuisine
Complete with dessert
score0.500 - Mochidessertcuisine
Complete with dessert
score0.500 - Edamamemaincuisine
Try another main
score0.100
The bar is the relevance score for adding the item to this cart. The cuisine tag marks whether it matches the cart cuisine.
Use this in your app
Pre-filled with your cart and menu. Drop in a key and run it.
curl -X POST https://dish-embed.latimal.com/suggest \
-H "X-API-Key: $LATIMAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"cart": [
"Tonkotsu Ramen",
"Chicken Gyoza"
],
"menu": [
"Edamame",
"Miso Soup",
"Chicken Karaage",
"Takoyaki",
"Agedashi Tofu",
"Seaweed Salad",
"Salmon Nigiri",
"Spicy Tuna Roll",
"Chicken Katsu Curry",
"Beef Teriyaki",
"Yakitori Skewers",
"Tempura Prawns",
"Matcha Ice Cream",
"Mochi",
"Green Tea",
"Ramune Soda",
"Iced Matcha Latte",
"Chashu Don"
],
"top_k": 5
}'Upsell on your real menu
This cart is curated. The honest test is your catalog. Get a free key with 5,000 credits, or send your menu to the founder.