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":"A Quick(ish) Green Minestrone null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["400g broad beans","200g leeks","2 spring onions","2 tablespoons of olive oil","200g courgettes","two 200g cans of flageolet beans","200g peas","a litre of vegetable stock","10g chives","a handful of parsley","grated Parmesan"]}],"instructions":["Pod 400g broad beans, boil them in lightly salted water, then drain and cool under running water.","Unless they are really young and small, I like to pop them out of their pale skins, but it is up to you.","Thickly slice 200g leeks (I like to do them diagonally), then thinly slice 2 spring onions.","Place them in a saucepan, with a couple of tablespoons of olive oil, and cook gently, covered with a piece of greaseproof or baking parchment.","The parchment will encourage them to steam and soften rather than fry. You want them to be tender, but they shouldn't brown.","Cut 200g courgettes into short lengths.","When the leeks and onions are soft and still bright green, remove the paper, add the courgettes, two 200g cans of flageolet beans, rinsed, 200g peas and then a litre of vegetable stock, bring to the boil, then turn down to a simmer.","Add the broad beans and 10g chives, chopped into short lengths.","Roughly chop a handful of parsley and stir into the soup.","Season and pass round a dish of grated Parmesan at the table for those who want it."]}
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:
- Assistantjson
{ "data": "main" }