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":"Root Vegetable Patties with Spiced Tomato Sauce Crisp, spicy","description":null,"ingredients":[{"section":"For the spice mix","ingredients":["a scant teaspoon of ground cardamom","half a teaspoon of ground cumin","half a teaspoon of ground coriander","a large pinch of dried chilli flakes","a teaspoon of black mustard seeds","a tablespoon or so of groundnut oil"]},{"section":"For the sauce","ingredients":["a garlic clove","a 400g can of chopped tomatoes","a little salt"]},{"section":"For the patties","ingredients":["250g parsnips","250g carrots","a small onion","2 tablespoons of plain flour","an egg","remaining half of the spice mix"]}],"instructions":["Mix together a scant teaspoon of ground cardamom, half a teaspoon of ground cumin and half a teaspoon of ground coriander.","Stir in a large pinch of dried chilli flakes, a teaspoon of black mustard seeds and a tablespoon or so of groundnut oil.","Toast half this spice mix in a pan for a couple of minutes.","Crush a garlic clove and add to the pan with a 400g can of chopped tomatoes and a little salt.","Simmer for 10 minutes.","Peel and grate 250g parsnips and 250g carrots.","Peel a small onion and shred it finely.","Mix the onion with the grated roots and 2 tablespoons of plain flour, then lightly beat an egg and stir it in.","Mix in the remaining half of the spice mix and squish the mixture into 6-8 shallow patties.","Fry them in a shallow, non-stick pan in a little oil over a moderate heat till lightly crisp, then turn and continue cooking briefly.","Serve with the spiced tomato sauce."]}
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.
- Assistantjson
{ "data": "main" }