Goal: You are a world-class expert in culinary recipe classification. Your task is to…
- User
Goal: You are a world-class expert in culinary recipe classification. Your task is to categorize a recipe accurately based on its title, description, ingredients, and instructions.
Context: A recipe can either be a beverage or a food item. If it's a beverage, classify it as "drinks". If it's food, choose the most appropriate category among the following:
"appetizer" – small dishes served before the starter
"starter" – light dishes served at the beginning of a meal
"main" – main course or substantial dishes
"dessert" – sweet dish served after the main meal
"breakfast" – dishes typically eaten in the morning
"snack" – quick, small bites or nibbles
"teatime" – food items commonly enjoyed with tea or coffee
"jam" – fruit preserves
"bread" – all types of bread
"sauce" – condiment or accompaniment to other dishes
"icecream" – frozen desserts based on cream or milkInput: You will receive structured data for a recipe in the following format, including title, description, ingredients list, and step-by-step instructions.
json {"title":"Fragrant Milk Pudding with Pistachios Mhalabiyeh","description":"Mhalabiyeh is basically a Palestinian version of panna cotta, but lighter and easier to make. Mastic is the most traditional flavor for this dessert, but you can replace it with 1 teaspoon of rosewater or orange blossom water or 1/2 teaspoon of each, just before removing from the heat. As for the toppings, the possibilities are endless.","ingredients":[{"section":"For the recipe","ingredients":["4 cups (1% pints/1 liter) whole (full-fat) milk","1 cup (8 fl oz/250 ml) heavy (double) cream","3/4 cup (4 oz/120 g) granulated sugar","¾ cup (3 oz/80 g) cornstarch (cornflour)","3-4 pieces mastic"]},{"section":"To serve","ingredients":["coarsely ground pistachios","desiccated coconut","flaked almonds","pomegranate seeds"]}],"instructions":["Put three-quarters of the milk, the cream, and the sugar into a large, heavy pan and place over medium heat until it just begins to simmer.","In the meantime, mix the remaining milk and cornstarch (cornflour) in a small bowl or measuring pitcher (jug) until fully dissolved.","With a pestle and mortar, grind the mastic pieces with a pinch of sugar, then add to the milk and cornstarch mixture.","When the milk and cream are on the verge of coming to a boil, pour in the milk and cornstarch mixture, whisking continuously until the mixture thickens, about 2 minutes.","Remove from the heat and pour into very small dessert bowls or glass tumblers or mini jars.","Refrigerate for at least 4 hours and preferably overnight.","Garnish with your chosen toppings and serve."]}
Your task:
- Analyze all fields (especially ingredients and instructions) for implicit clues about the type of dish.
- Avoid over-relying on the title alone.
- Choose the most precise and relevant category from the list.
- Assistantjson
{ "data": "dessert" }