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":"Peanuts with Five-spice This is a fragrant and savoury way to raise nuts to new heights. Serve them as a snack with drinks, or as an easy starter to any meal.","description":"This is a fragrant and savoury way to raise nuts to new heights. Serve them as a snack with drinks, or as an easy starter to any meal.","ingredients":[{"section":"For the recipe","ingredients":["225g (8oz) raw peanuts","300ml (10fl oz) groundnut oil","2 tablespoons finely chopped garlic","1 tablespoon finely chopped fresh ginger","1 tablespoon sugar","2 teaspoons five-spice powder","salt","1 teaspoon roasted and ground Sichuan peppercorns","1 teaspoon chilli powder"]}],"instructions":["Pick over the peanuts and remove any loose skins.","Heat a wok or a large frying pan over a high heat until it is hot, then add the oil.","When it is hot and slightly smoking, fry the peanuts for 2 minutes, until they are lightly brown, then remove and drain well.","Lay the peanuts on a baking sheet lined with kitchen paper.","Drain most of the oil from the wok (this oil can be saved for future use), leaving just 1½ tablespoons.","Reheat the wok and remaining oil, and when it is hot and smoking slightly, add the garlic and ginger and stir-fry for 1 minute.","Then add the rest of the ingredients along with 2 teaspoons of salt and return the peanuts to the wok.","Continue to stir-fry for 2 minutes, stirring to mix well.","Turn on to a baking tray, allow to cool 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.
- Assistantjson
{ "data": "snack" }