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":"Caramelised Walnuts ","description":"The first time I had this delicious snack was in Beijing, and I was determined to learn how to make them. As it turned out, they were surprisingly easy. The shelled walnuts must be blanched first to rid them of any bitterness. After that they are rolled in sugar, left to dry for several hours, then deep-fried to caramelise the sugar coating. Finally they can be rolled in sesame seeds. The result is a classic contrast of tastes and textures. They can be served cold or warm and they are perfect with drinks.","ingredients":[{"section":"For the recipe","ingredients":["225g (8oz) shelled walnuts","100g (4oz) sugar","450ml (15fl oz) groundnut or vegetable oil","3 tablespoons sesame seeds (optional)"]}],"instructions":["Bring a pan of water to the boil.","Add the walnuts and cook for about 10 minutes to blanch them.","Drain the nuts in a colander or sieve, then pat dry with kitchen paper and spread them on a baking tray.","Sprinkle the sugar over the walnuts and roll them around to cover them completely.","Place the tray of sugared walnuts in a cool, draughty place for at least 2 hours, or preferably overnight, to allow the nuts to dry out.","Heat the oil in a deep-fat fryer or a wok to a moderate heat.","Fry a batch of the walnuts for about 2 minutes, or until the sugar melts and the walnuts turn golden. (Watch the heat to prevent burning.)","Remove the walnuts from the oil with a slotted spoon or strainer.","For an added depth of flavour, you can sprinkle them with the sesame seeds at this point.","Lay the walnuts on a non-stick baking tray or a wire rack to cool. (Do not drain them on kitchen paper, as the sugar will stick when it dries.)","Deep-fry and drain the rest of the walnuts in the same way.","Serve the walnuts warm or, once cooled, they can be kept in a sealed glass jar for about 2 weeks."]}
- Assistant
json { "data": "snack" }