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":"Eight Jewel Duck Although time-consuming, the end results of this dish are well worth the effort.","description":null,"ingredients":[{"section":"For the recipe","ingredients":["1 x 1.6-1.75kg (3½-41b) duck, fresh or frozen and thawed (I use Cherry Valley)","cornflour or potato flour, for dusting","1.2 litres (2 pints) groundnut or vegetable oil"]},{"section":"FOR THE RICE","ingredients":["225g (8oz) glutinous rice, soaked in water for 4 hours","4 Chinese sausages, coarsely chopped"]},{"section":"FOR THE STUFFING","ingredients":["8 whole chestnuts","100g (4oz) water chestnuts, fresh or tinned","50g (2oz) Chinese black mushrooms","2 tablespoons groundnut or vegetable oil","100g (4oz) Parma ham or English ham, coarsely diced","2 tablespoons coarsely chopped fresh coriander","75g (3oz) ginkgo nuts","25g (1oz) bamboo shoots, coarsely chopped","3 tablespoons finely chopped spring onions","2 tablespoons Shaoxing rice wine or dry sherry","1 tablespoon light soy sauce","salt and black pepper"]}],"instructions":["Mix the soaked glutinous rice with the Chinese sausage and place on a heatproof plate.","Set up a steamer, or put a rack into a wok or deep pan, and fill it with 5cm (2in) of water.","Bring the water to the boil and lower the plate into the steamer or on to the rack.","Turn the heat to low and cover the wok or pan.","Steam gently for 30 minutes, or until the rice is cooked, then allow to cool.","Peel and quarter the chestnuts and, if you are using fresh water chestnuts, peel and chop them coarsely (if you are using tinned water chestnuts rinse and chop them).","Soak the mushrooms in warm water until soft, then squeeze out the excess water, cut off the tough stems and coarsely chop.","Heat a wok until hot, then add the 2 tablespoons of oil.","When the oil is smoking, add all the stuffing ingredients and stir-fry for 10 minutes.","Add the cooked rice and sausage, mix well and allow to cool thoroughly.","Now, bone the duck.","Using your fingers and a small knife, cut along the skin of the neck to expose the wishbone.","This is connected with the wing joints. With poultry shears, cut both wing joints free.","Working with your knife, carefully cut against the bone, pulling the meat away with your hands.","When you have reached the thigh joint, cut the carcass away from both joints.","Work until the end, keeping the tail attached to the skin and meat while detaching the backbone.","Scrape the meat away from the thigh and cut at the tip of each leg.","Stuff the duck with the rice stuffing, then skewer the neck and tail.","Put the duck on a heatproof plate and steam (just as you did with the rice and sausage) for 1½ hours, occasionally pouring off excess fat and replenishing the water.","After 1½ hours, remove the duck, pour off any fat and liquid and leave the duck for at least 2 hours to dry and cool.","Just before you serve, dust the duck with cornflour or potato flour, shaking off the excess.","Heat the oil in a deep-fat fryer or wok.","When it is almost smoking, lower in the duck, basting it until it is crispy.","Drain on kitchen paper 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": "main" }