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":"Salt and Pepper Tofu null","description":"This meal reminds me of a vegetarian take on salt and pepper squid, and I really love both its ease of preparation and its varied textures.","ingredients":[{"section":"For the recipe","ingredients":["14 oz. pack firm tofu","2 tablespoon corn flour","1 teaspoon Sichuan or black peppercorns (or a mixture of the two), ground to a powder","2 tablespoons sunflower or vegetable oil","2 red peppers, sliced","1/4 broccoli head, cut into very small florets","3½ oz. beansprouts","2 teaspoon low-sodium soy sauce","Sesame oil, for drizzling","Handful of coriander leaves, to taste"]}],"instructions":["After draining the tofu, place it on a platter and cover it loosely in kitchen paper. Place a cutting board on the very top.","If the cutting board you're using is on the lighter side, consider adding some cans to it to make it more stable; however, a cutting board that's on the heavier side should be OK on its own. Allow the cloth to sit for 10 to 20 minutes, or until it feels damp from the surplus liquid.","When the tofu has been cooked, pressing it in this manner helps to give it a firmer consistency.","To make the tofu seem more like a book, cut it in half along the middle. In the same manner that you would cut a piece of toast into 4 triangles, slice each piece into 8 triangles. This will give you a total of 16 pieces.","On a dish, combine the corn flour, the crushed pepper, and the 1 teaspoon of flaky sea salt. To coat the tofu, gently toss each piece in the corn flour mixture and flip it over.","Warm up 1 tablespoon of oil in a wok. Cook the peppers and broccoli in a stir-fry for a few minutes, in order to slightly soften them.","The bean sprouts and the soy sauce should both be added.","Continue cooking for an additional 1 to 2 minutes, checking to see that the vegetables maintain their crispiness. Sprinkle with a touch of toasted sesame oil.","To make the tofu crispy, heat the remaining sunflower oil in a big nonstick frying pan and cook the tofu that has been coated for 5 minutes on each side.","Place on top of the veggies and sprinkle with the chopped coriander before serving."]}
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" }