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":"Spicy Hoisin Mixed Vegetables Chunky vegetables stir-fried in a rich, sticky sweet, aromatic sauce, with a hint of chilli and served with creamy cashew nuts.","description":"It's no wonder that, once tried, this dish is cooked time and time again. Everything happens in your wok so washing up is a doddle afterwards too.","ingredients":[{"section":"For the recipe","ingredients":["1 Tbsp groundnut oil","4 garlic cloves, finely chopped","1 tsp grated fresh ginger","1 onion, diced","1 carrot, diced","30g (4 cup) canned water chestnuts, drained","3 baby corn cobs, halved lengthways","35g (½ cup) canned straw mushrooms, drained","60g (1 cup) button mushrooms, cut into bite-sized pieces","30g (4 cup) canned bamboo shoots, drained","1 Tbsp rice vinegar","1 Tbsp soy sauce","½ cup Hoisin Sauce","½ tsp dried chilli flakes","1 Tbsp cornflour (cornstarch) mixed with 2 Tbsp water","1 tsp sesame oil","30g (½ cup) unsalted roasted cashew nuts (if you have salted cashew nuts, rinse under cold water and pat dry)"]}],"instructions":["Place a wok over a medium-high heat. When hot, add the oil, garlic and ginger and fry until fragrant, about 15 seconds.","Add the onion and carrot and fry for 2 minutes, then add the water chestnuts, baby corn, straw mushrooms, button mushrooms and bamboo shoots and stir-fry for a further 2 minutes.","Turn the heat down to medium, add the rice vinegar, soy sauce, Hoisin Sauce and chilli flakes and stir-fry for a further 2-3 minutes.","Gradually add the cornflour mixture, stirring constantly to thicken the sauce.","Remove from the heat, add the sesame oil and cashew nuts and mix well.","Transfer to a serving dish and tuck in."]}
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" }