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":"Mapo Tofu null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["500 g (1lb 2 oz) Tofu","2 tablespoons Vegetable Oil","100 g (3½ oz) Pork Mince","1 teaspoon Minced Ginger","1 teaspoon Minced Garlic","1 teaspoon Sichuan Ground Red Pepper","1 teaspoon Chilli Powder","1 tablespoon Spicy Bean Paste (Doubanjiang)","1 tablespoon Fermented Black Beans","1 Sliced Fresh Red Chilli","1 tablespoon Dark Soy Sauce","1 tablespoon White (Granulated) Sugar","50 ml (1¾ fl oz) Water","3 tablespoons Cornflour and Water Mixture\n(1:3 cornflour to water ratio)"]}],"instructions":["Cut the block of tofu into 2 cm (4 inch) cubes and cook in salted boiling water for 1 minute.","Drain.","Pour 1 tablespoon of vegetable oil into a wok, add the pork mince and fry for about 1 minute until nicely browned (for a vegetarian recipe, you can replace the pork with shiitake mushrooms).","Set aside the cooked pork.","Add 1 tablespoon of vegetable oil to the same wok.","Fry the following ingredients in this order, frying each one before adding the next: ginger and garlic, Sichuan red pepper, chilli powder, doubanjiang, fermented black beans, fresh chilli, dark soy sauce and finally the sugar.","Fry until aromatic and the sauce turns slightly red.","Once the sauce is smooth, add the pork and tofu and pour in the water.","Simmer for 1 to 2 minutes, stirring the tofu cubes occasionally with the back of a spoon so as not to break them.","Add the cornflour and water mixture, 1 tablespoon at a time, then let it thicken.","Once all ingredients are well heated through, serve immediately."]}
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.
- Assistant
{ "data": "main" }