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":"Vegan Halloween Chocolate Cupcakes with Vegan Matcha Icing null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["2½ cups all-purpose flour","2 cups white sugar","3/4 cup dark cocoa powder","2 teaspoons baking powder","1 teaspoon instant espresso powder","½ teaspoon baking soda","1/4 teaspoon salt","1 cup almond milk","½ cup canola oil","2 teaspoons apple cider vinegar","2 teaspoons vanilla extract"]},{"section":"Matcha Vegan Icing","ingredients":["1 cup confectioners' sugar","1 teaspoon green tea powder (matcha)","½ teaspoon almond extract","½ teaspoon vanilla extract","1 tablespoon almond milk, or as needed"]}],"instructions":["Preheat the oven to 350 degrees F (175 degrees C). Place liners into a 12-cup muffin tin.","Combine flour, sugar, cocoa powder, baking powder, espresso powder, baking soda, and salt in a large bowl. Sift flour mixture into another bowl and sift again back to the first bowl. Add almond milk, oil, vinegar, and vanilla extract and beat using an electric mixer on medium speed until well combined. Fill each lined muffin cup 1/3 full of batter.","Bake in the preheated oven until a toothpick inserted in the center of a cupcake comes out clean, 20 to 25 minutes.","While cupcakes are baking, sift confectioners' sugar into a bowl and add matcha powder. Whisk together to blend. Add almond extract and vanilla extract and stir to combine. Mix in almond milk 1 teaspoon at a time using a whisk or spoon until icing reaches a good spreading consistency.","Allow cupcakes to cool completely before icing, about 1 hour."]}
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" }