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":"Stir-fried Liver in Spicy Sauce null","description":"Pig's liver is a Chinese speciality which is delicious when it is properly prepared. My uncle used to make a delectable pig's liver dish with vegetables. His secret was to cut the liver into thin slices, stir-fry them quickly and then drain them to get rid of any bitter juices. My personal preference, however, is for calves' liver, and this dish is an adaptation of the traditional pig's liver recipe. Here is it paired with a robust and tasty sauce containing spices that help to balance the rich flavour of the liver. Cooked this way, the liver tastes a little like beef. I like to serve it with plain steamed rice and some green vegetables.","ingredients":[{"section":"For the recipe","ingredients":["225g (8oz) fresh liver, such as calves' or pig's","3 spring onions","150ml (5fl oz) groundnut or vegetable oil"]},{"section":"FOR THE MARINADE","ingredients":["1 egg white","1 tablespoon Shaoxing rice wine or dry sherry","2 teaspoons sesame oil","2 teaspoons finely chopped fresh ginger","2 teaspoons cornflour","salt and white pepper"]},{"section":"FOR THE SAUCE","ingredients":["2 teaspoons light soy sauce","2 teaspoons Shaoxing rice wine or dry sherry","2 teaspoons sugar","1½ tablespoons whole yellow bean sauce","2 teaspoons chilli bean sauce"]}],"instructions":["Cut the liver into thin slices 7.5cm (3in) long.","Mix the marinade ingredients together in a bowl together with 2 teaspoons of salt and ½ teaspoon of white pepper.","Add the liver slices and coat them thoroughly with the marinade.","Cover the bowl tightly with clingfilm and let it sit in the fridge for at least 20 minutes.","Meanwhile, cut the spring onions diagonally into 5cm (2in) pieces.","In a separate bowl mix together the sauce ingredients.","Heat a wok or a large frying pan until it is hot.","Add the oil, and when it is very hot and slightly smoking, remove the liver from the marinade with a slotted spoon and stir-fry it for 2 minutes.","Drain the cooked liver in a colander or sieve, leaving about 2 teaspoons of the oil in the pan. (Discard the rest of the oil.)","Reheat the wok or pan and add the spring onions.","Stir-fry them for 1 minute, then add the sauce ingredients.","When the sauce comes to the boil, return the liver to the wok or pan and toss it well, coating it with the sauce.","Stir-fry for 30 seconds, then turn it on to a platter 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" }