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 Fried Tofu in a Hot and Sour Sauce null","description":"Chinese food is traditionally categorised into five flavours - salty, spicy, sour, sweet, and bitter - and there is a proverb that says, 'One must learn to blend the flavours harmoniously to truly master Chinese cookery.' This crispy tofu smothered in a tangy, spicy sauce is a quick, simple dish that will make your tastebuds sing.","ingredients":[{"section":"For the recipe","ingredients":["1 tbsp sesame seeds","2 tbsp groundnut oil","225g (8oz) firm tofu, cut into 2cm (in) cubes","2 spring onions (scallions), finely sliced","1 tsp sesame oil"]},{"section":"For the hot and sour sauce","ingredients":["2 tbsp rice wine","1½ tbsp dark soy sauce","2 tbsp rice vinegar","160ml (½ cup) vegetable stock","1 tbsp tomato purée","2 tsp chilli bean sauce","½ tsp white pepper","2 tsp granulated sugar"]}],"instructions":["Ensure your wok is completely dry by wiping with kitchen paper before you start.","Place it over a medium-low heat, then tip in the sesame seeds and slowly toast for 2-3 minutes, or until they turn golden brown.","Transfer to a plate and leave to cool.","Heat the oil in the wok over a medium heat and fry the tofu cubes for 2-3 minutes on each side until they are golden brown.","They should be crispy on the outside but soft inside.","Transfer to a plate lined with kitchen paper to drain.","Add all the hot and sour sauce ingredients to the wok over a medium-high heat.","Bring the sauce to a boil, then lower the heat and simmer for 3-5 minutes.","Add the tofu cubes and stir to coat with the sauce and reheat them.","Transfer to a serving dish, sprinkle over the spring onions, toasted sesame seeds and a drizzle of sesame oil.","Serve hot."]}
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" }