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":"Homemade Baklava (Algerian Style) null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["24 oz. plain flour","310 ml water","200 ml melted ghee mixed with 110ml sunflower oil","1/2 tsp salt","310 ml extra of melted ghee, to brush the pastry","18 oz. chopped almonds"]},{"section":"Glaze","ingredients":["310 620 ml honey","155 310 ml orange flower water (mazhar)","128 g granulated sugar","1/4 tsp ground cinnamon","1 tsp vanilla sugar","2 tsps melted ghee","155 ml orange flower water (mazhar)"]}],"instructions":["Set your oven to 300 degrees F before doing anything else and grease a large tray with a little melted ghee.","In a bowl, mix together the flour, salt and ghee/oil mixture.","Slowly, add the water and mix till a smooth dough forms.","Dust a smooth surface with the corn flour.","Divide the dough into 2 portions and place one onto floured surface, covered with a kitchen towel.","Shape another portion into golf sized balls.","Roll the balls into sausage shape and again roll onto floured surface into 3-4 mm thickness.","With a little corn flour, dust the dough sheets and process in the pasta machine on the lowest settings for thinnest strips.","Arrange the first strip vertically in the center of prepared tray and coat with ghee.","Place a second strip horizontally over the first strip.","Repeat with the remaining strips and ghee, covering the tray completely in 5 layers. (There should be 5 strips in each layer)","For filling in a food processor, add the almonds and pulse till chopped finely.","Transfer the almonds into a bowl with the sugar, vanilla sugar, cinnamon and mazhar and mix till well combined.","Place the filling over strips evenly in the tray and with a spatula, smooth the surface gently.","Roll the other dough portion and make golf size balls.","Roll the ball into sausage shape and again roll onto floured surface into 3-4 mm thickness.","With a little corn flour, dust the dough sheets and process in the pasta machine on the lowest settings for thinnest strips.","Place the strips over filling in the same process you have for the first portion. (This time you should have 6 layers of strips)","With a knife, cut the straight vertical lines all the way to bottom and then cut more lines diagonally to make diamond shape.","Press a whole almond in the center of each diamond.","Cook in the oven for about 60-70 minutes.","For syrup in a pan, warm the mazhar and honey.","Remove the baking treay from oven and pour the syrup over baklawa and keep aside for at least 10 minutes.","Cut into desired pieces and serve."]}
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": "dessert" }