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 Magic Cake null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["2/3 cup unsweetened cocoa powder","1/3 cup all-purpose flour","2 teaspoons instant espresso powder","3/4 teaspoon sea salt","4 large eggs eggs at room temperature, separated","1 cup white sugar","1 tablespoon water","½ cup unsalted butter, melted","2 teaspoons vanilla extract","2 cups whole milk, lukewarm","1 teaspoon cream of tartar"]}],"instructions":["Preheat oven to 325 degrees F (165 degrees C). Grease an 8-inch baking pan.","Whisk cocoa powder, flour, espresso powder, and salt together in a bowl.","Combine egg yolks, white sugar, and water in the bowl of a stand mixer. Beat on high speed until eggs are light and creamy, about 2 minutes. Reduce speed to low and add butter and vanilla extract. Increase speed to medium; beat until light and fluffy, about 1 minute. Reduce speed to low and add the cocoa mixture in 3 batches, mixing thoroughly after each addition and scraping down the sides of the bowl. Stir milk slowly into the batter until well combined. Pour chocolate batter into a separate bowl.","Clean and dry out bowl and beaters. Beat egg whites and cream of tartar together on high speed until stiff peaks form. Fold 3/4 of the egg white mixture into the chocolate batter using a spatula; pour back into the egg white bowl, folding mixture in slowly until batter is smooth but still light and fluffy. Pour batter into the prepared pan.","Bake in the preheated oven until edges are set and center still jiggles slightly, about 50 minutes. Let cake cool completely, at least 30 minutes."]}
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 category from the list.
- Assistant
{ "data": "dessert" }