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":"HOLIDAY DATE AND NUT CAKES كعك ومعمول","description":"With a Muslim mother and a Christian father I got to celebrate twice as many holidays as most people: this meant double the gifts, double the days off from school, and more importantly, to a foodie like me, double the amount of time we had ka'ak wa ma'amoul at home. These bite-size stuffed semolina cakes are synonymous with the holidays for both Christians and Muslims in Palestine. They may be labour intensive, but they last for weeks and so are worth the effort.","ingredients":[{"section":"For the pastry","ingredients":["2 lb/1 kg fine semolina","1 lb 2 oz/500 g butter, at room temperature","¼ cup (2 fl oz/60 ml) vegetable oil","2½ cups (9 oz/250 g) all-purpose (plain) flour","1 teaspoon salt","½ teaspoon mastic ground with ½ teaspoon sugar (optional)","½ teaspoon ground mahlab (optional)","1 teaspoon active dry (fast-action) yeast","2 tablespoons sugar","4 tablespoons rosewater","4 tablespoons orange blossom water"]},{"section":"For the filling (option 1)","ingredients":["2 lb/1 kg date paste","2 teaspoons ground cinnamon","½ teaspoon ground nutmeg and cloves"]},{"section":"For the filling (option 2)","ingredients":["2½ lb/1 kg coarsely chopped walnuts or pistachios (or use a combination of both)","1 cup (7 oz/200 g) granulated sugar","2 tablespoons orange blossom water","2 tablespoons rosewater","4 tablespoons melted butter","1 teaspoon ground cinnamon"]},{"section":"To serve","ingredients":["confectioners (icing) sugar, for dusting"]}],"instructions":["Place the semolina, butter, and oil in a large bowl and work with your hands until fully combined and the mixture resembles wet sand, at least 10-15 minutes.","Cover with plastic wrap (clingfilm) and leave overnight.","The next day, add the flour, salt, mastic, and mahlab to the semolina and gently rub with your hands.","Add the yeast, sugar, rosewater, and orange blossom water and mix to combine.","Start to add water, a tablespoon at a time, and knead gently (do not overmix, or your ma'amoul will be too tough) until you can take a clump of dough and it holds together without crumbling.","Cover and leave to rest for 15-30 minutes.","Meanwhile, if using the date filling, put all the ingredients into a bowl and knead together until combined, then shape into grape-sized balls.","If using the nut filling, combine all the ingredients together and set aside.","To make the date cakes, take a walnut-size piece of dough, flatten slightly, and place a date ball inside. Make sure the date is fully enclosed by the dough and roll into a ball.","Slightly flatten with your palm and with the round tip of a wooden spoon, make a hole in the middle of the cake.","Use a metal pincher or cake mold to decorate.","To make the nut cakes, take a similar size piece of dough and use your thumb to create an indentation.","Fill with about 1 teaspoon of the nut mixture.","Close carefully, form into a dome or oblong shape, and use a cake mold or metal pincher to decorate.","Preheat the oven to 400°F/200°C/Gas Mark 6 and line a couple of baking sheets with parchment.","Place the cakes on the lined baking sheet and bake until the bottom edges are a very light golden brown, 5-10 minutes.","Remove and cool completely.","Transfer to an airtight container. They keep for 7-10 days at room temperature or in the freezer for 3 months.","Dust with confectioners' (icing) sugar before serving."]}
- Assistantjson
{ "data": "dessert" }