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":"Crispy Aromatic Duck with Hoisin Sauce and Pancakes The perfect sharing plate to be enjoyed with friends and family.","description":"Everyone, and I do mean everyone, LOVES this dish; it's the perfect sharing plate to be enjoyed with friends and family.","ingredients":[{"section":"For the marinade","ingredients":["4 spring onions (scallions), halved","a thumb-sized piece of fresh unpeeled ginger, sliced","1 litre (4½ cups) chicken stock","120ml (½ cup) rice wine","120ml (½ cup) dark soy sauce","100g (½ cup) demerara sugar","1½ tbsp Chinese five spice","2 star anise","1 tsp cloves","3 cinnamon sticks","½ tbsp salt","4 duck legs (or you can use a whole duck cut into quarters)"]},{"section":"To assemble","ingredients":["1 pack of Chinese pancakes (average 10 pancakes per pack)","2 spring onions (scallions), cut into matchsticks","1 cucumber, cut into matchsticks","60ml (½ cup) hoisin sauce"]}],"instructions":["Put the spring onions, ginger, stock, rice wine, soy sauce, sugar, spices and salt into a large, lidded saucepan and stir well to combine.","Add the duck legs and massage the marinade into the skin.","Pop the lid on, put the pan in the fridge and leave to marinate for at least 2 hours or ideally overnight.","At the end of the marinating time, take the lid off the pan and set it over a high heat, bring to the boil, then turn down to a simmer.","Cover and cook for 1-2 hours, keeping an eye on the liquid to ensure it doesn't boil dry - add water if needed.","Remove the duck legs from the liquid and place on a wire rack to cool.","Preheat the oven to 220°C (425°F).","Arrange the duck legs on a baking tray and cook in the oven for around 15-20 minutes, or until the skin has turned lovely and crispy.","Towards the end of the duck's cooking time, steam the pancakes for 6 minutes (or according to the packet instructions).","Remove the duck from the oven and shred the meat from the bones using two forks.","Serve straight away with the warm pancakes, spring onions, cucumber and hoisin sauce and let everyone fill and roll their own pancakes."]}
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" }