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 BAKLAVA null","description":"Baklava is a sweet, rich pastry that has become a hallmark of Middle Eastern cuisine, though its origins are often disputed among various cultures. With its flaky layers of phyllo dough, sweet syrup, and nuts, baklava has delighted palates for centuries. It's a celebratory dish, often found at large gatherings and special occasions, with each region having its own twist on the classic recipe.","ingredients":[{"section":"For the recipe","ingredients":["1 pound phyllo dough, thawed","2 cups walnuts, finely chopped","1 teaspoon ground cinnamon","1 cup unsalted butter, melted","1 cup granulated sugar","1 cup water","1/2 cup honey","1 teaspoon vanilla extract","2 tablespoons lemon juice","Whole cloves, for garnish (optional)"]}],"instructions":["Preheat your oven to 350°F (175°C).","In a bowl, combine the finely chopped walnuts and ground cinnamon. Set aside.","Unroll the phyllo dough and cut the stack to fit your baking pan. Cover with a damp cloth to keep it from drying out.","Brush the bottom and sides of a 9x13 inch baking pan with melted butter. Place a sheet of phyllo in the bottom of the pan and brush with melted butter. Repeat with 8 more sheets, brushing each with butter.","Spread about 1/4 of the walnut mixture over the phyllo layers.","Add 6 more phyllo sheets on top of the nuts, brushing each sheet with butter.","Continue to layer another 1/4 of the walnut mixture and 5 buttered sheets of phyllo. Repeat this step two more times.","Finish with 8-10 layers of buttered phyllo on top. Brush the top layer generously with butter.","Using a sharp knife, cut the unbaked baklava into diamond or square shapes. Insert a whole clove into the center of each piece if desired.","Bake for about 50 minutes, until baklava is golden and crisp.","While baklava is baking, make the syrup. Combine sugar, water, honey, vanilla extract, and lemon juice in a saucepan. Bring to a boil, then reduce heat and simmer for about 10 minutes.","Remove the baklava from the oven and immediately pour the syrup over it. Let it cool completely before serving."]}
- Assistant
{ "data": "dessert" }