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":"Honey Crunch Cake Sweet Endings and Desserts","description":"Like watching a stellar nighttime spectacular from the fifteenth floor viewing deck connected to California Grill, this sweet and crunchy cake is the perfect finale to a fabulous meal.","ingredients":[{"section":"Sponge Cake","ingredients":["1/2 cup milk","1/2 cup unsalted butter, cut into pieces","1/2 cups all-purpose flour","2 teaspoons baking powder","3 large eggs","1/4 teaspoon salt","1 cup sugar","3/4 teaspoon almond extract","1/4 teaspoon vanilla extract"]}],"instructions":["Preheat oven to 375°F. Grease and flour a 9-inch round cake pan.","Combine milk and butter in a 11½/2-quart saucepan and cook over low heat, stirring occasionally, until butter is completely melted. Remove from heat.","In a separate bowl, sift together the flour and baking powder. Set aside.","In an electric mixer with a whip attachment, mix eggs.","Whip in salt, then sugar in a steady stream. Continue to whip for about 30 seconds.","Add almond extract and vanilla extract. Gently whip in milk and butter mixture, then gradually add flour mixture, mixing until smooth.","Pour batter into prepared 9-inch pan. Bake 20 to 25 minutes, or until the cake is lightly browned and a toothpick inserted in the center comes out clean."]}
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:
json { "data": "" }
- Assistantjson
{ "data": "dessert" }