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":"Walnut Biscuits null","description":"Although baking is not a common Chinese cooking method, biscuits of all kinds are quite popular now in China. The most famous is the almond biscuit in the south, but walnut biscuits are equally delicious. They can be served alone or with fresh fruit.","ingredients":[{"section":"For the recipe","ingredients":["12 walnut halves","100g (4oz) plain flour","2 teaspoons baking powder","50g (2oz) butter or lard","100g (4oz) sugar","2 eggs"]}],"instructions":["Immerse the walnut pieces in a pan of boiling water for about 5 minutes.","Remove them with a slotted spoon, pat dry with kitchen paper and set aside.","Preheat the oven to 200°C/400°F/gas mark 6.","Put the flour and baking powder into a large bowl and rub in the butter or lard until it is well mixed.","Add the sugar and 1 egg and mix to form a thick paste.","Divide the mixture into 12 balls and press them into flattish, biscuit shapes about 5cm (2in) in diameter.","Put them on a non-stick baking tray or a plain oiled baking tray.","Press a piece of walnut on to each biscuit.","Using a pastry brush, glaze the tops with the remaining beaten egg.","Put the biscuits into the oven and bake for 20 minutes.","Remove when cooked and put them on a wire rack.","Once cooled, the biscuits can be stored in an airtight jar, where they will keep for about a week."]}
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": "" }
- Assistant
{ "data": "snack" }