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":"Lentil and Bulgur Pilaf مجدرة برغل","description":"When you look at the simple ingredients list, you might be sceptical of the end result, but the combination of toasted onions, bulgur, lentils, and good quality olive oil is actually divine. Eaten with Palestinian Salad and some plain yogurt, this is a wholesome and nutrient-dense meal.","ingredients":[{"section":"For the recipe","ingredients":["1 cup (8 oz/225 g) whole lentils, picked over and rinsed (see Note)","½ cup (4 fl oz/120 ml) olive oil","3 onions, finely diced","1 teaspoon salt","½ teaspoon ground cumin","1 cup (6 oz/175 g) coarse bulgur"]},{"section":"For the crispy onion topping","ingredients":["vegetable oil, for frying","1 large onion, cut into thin half-moons","1 teaspoon cornstarch (cornflour)"]}],"instructions":["Put the lentils and 4 cups (14 pints/1 liter) water into a pan over high heat and bring to a boil.","Reduce the heat and simmer for 15-30 minutes, or until almost done but still with a bite. The exact time will depend on the variety, but generally cook the lentils for 5 minutes less than stated on the package.","Meanwhile, heat the olive oil in a skillet (frying pan) over medium-high heat.","Add the onions and sauté for 15-20 minutes, stirring regularly, until they turn a deep golden brown and start to crisp.","Onions can very quickly go from deep brown to burnt, so keep an eye out as you stir and remove them from the heat before they burn.","It is very important to cook them to this point though, because that is what will give the pilaf its distinctive dark color and flavor.","Pour the onions and their oil over the lentils in the pan, add the salt and cumin and give them all a good stir.","Add the bulgur, bring back to a boil, then reduce the heat to its lowest setting and simmer, covered, for 10-15 minutes.","Check on the pilaf from time to time; if the bulgur and lentils are still not fully cooked but the water has evaporated, top up with water and continue to cook until done.","When done, place a dish towel or paper towels under the lid and let sit for 15 minutes before serving.","In the meantime, prepare the topping.","Heat the oil in a small, deep skillet.","Sprinkle the sliced onion with the cornstarch (cornflour) and toss to combine.","Add to the hot oil and fry until crisp and dark golden brown.","Remove with a slotted spoon and drain on paper towels until dry and crispy.","Serve the pilaf topped with crispy onions."]}
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": "main" }