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":"Baklawa بقلاوه","description":"Despite the prevalence of the Middle East's most famous dessert, it's actually quite hard to find one that tastes good. There's either too much syrup or not enough, poor quality butter or nuts, too burnt, not cooked enough-the list goes on. Making it at home can seem like too much trouble though, so people often just buy it. All this changed for me when I was in the United States for a wedding and I saw my mother-in-law take out several packages of phyllo (filo) pastry and whip up a large tray of the cutest spiral-shaped baklawas in thirty minutes. Although not traditional, this recipe, adapted from hers, is so easy, fresh, and delicious that I now regularly make this once finicky dessert at home.","ingredients":[{"section":"For the recipe","ingredients":["2 cups (7 oz/200 g) ground pistachios, plus extra for sprinkling","3/4 cup (6oz / 180g) granulated sugar","1 tablespoon rosewater","5 oz/150 g ghee or butter, melted","40 phyllo (filo) pastry sheets, about 6 x 8 inches/15 x 20cm (you will probably have to cut larger sheets down to this size)","½ quantity Flavored Sugar Syrup (page 35), at room temperature"]}],"instructions":["Preheat the oven to 350°F/180°C/Gas Mark 4 and line a baking sheet with parchment.","Combine the ground pistachios, sugar, and rosewater in a bowl.","Place the phyllo (filo) sheets on your work surface and cover with a damp dish towel to avoid drying.","Working with just one sheet at a time, remove a sheet of phyllo and brush with the melted ghee.","Spoon about 1 teaspoon of the pistachio mixture across the short edge of the phyllo sheet.","Roll the sheet into a cigar shape, brushing with the melted ghee as you roll, then roll the cigar into a snail shape, taking care not to rip the pastry.","Brush the rolled baklawa all over with more melted ghee and place onto the lined baking sheet.","Continue until all sheets are rolled.","Brush all the rolled pieces with the melted ghee one more time then bake in the oven for 15-20 minutes, or until the baklawas are a light golden brown.","Remove from the oven and pour the sugar syrup over the baklawas.","Alternatively, let the baklawa cool down to room temperature and pour freshly made warm syrup over.","Sprinkle each piece with very finely ground pistachios and transfer to a serving platter."]}
- Assistant
{ "data": "dessert" }