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":"Chocolate Cupcakes with Caramel Frosting null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["1 cup white sugar","2 cups all-purpose flour","1/4 cup unsweetened cocoa powder","2 teaspoons baking soda","1 cup water","2 tablespoons grape jelly","1 cup mayonnaise","1 teaspoon vanilla extract","1/4 cup butter, melted","½ cup half-and-half cream","3/4 cup packed brown sugar","½ teaspoon vanilla extract","1/4 cups confectioners' sugar"]}],"instructions":["Preheat oven to 350 degrees F (175 degrees C). Grease 15 muffin cups or line with paper baking cups.","In a large bowl, stir together the white sugar, flour, cocoa, and baking soda. Make a well in the center, and pour in the water, grape jelly, mayonnaise, and 1 teaspoon of vanilla. Mix just until blended. Spoon the batter into the prepared cups, dividing evenly.","Bake in the preheated oven until the tops spring back when lightly pressed, 20 to 25 minutes. Cool in the pan set over a wire rack. When cool, arrange the cupcakes on a serving platter.","Make the frosting while the cupcakes cool. Combine the butter, half-and-half and brown sugar in a medium saucepan. Bring to a boil, stirring frequently. Remove from the heat and stir in the confectioners' sugar and vanilla. Set the pan over a bowl of ice water and whisk or beat with an electric mixer until fluffy. Frost cupcakes when they are completely cool."]}
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.
- Always prefer specificity over generalization.
Output format: Return your answer strictly in the following JSON format:
- Assistantjson
{ "data": "dessert" }