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":"Spiced Root Frittata A soft tangle of sweet vegetables held together by lightly spiced eggs.","description":null,"ingredients":[{"section":"For the recipe","ingredients":["250g (total weight) of mixed root vegetables, such as parsnip, beetroot and carrot","a small onion","2 tablespoons of plain flour","half a teaspoon each of ground cardamom, cumin and coriander","a pinch of dried chilli flakes","half a teaspoon of black mustard seeds","half a can of chopped tomatoes, drained","4 eggs","butter"]},{"section":"Black pudding frittata","ingredients":["a thick slice of butter","200g black pudding","3 eggs","3 tablespoons of roughly chopped parsley","50g finely grated Parmesan cheese"]}],"instructions":["Peel and grate 250g (total weight) of mixed root vegetables, such as parsnip, beetroot and carrot.","Peel, then finely shred a small onion and add to the grated roots.","Stir in 2 tablespoons of plain flour, half a teaspoon each of ground cardamom, cumin and coriander, a pinch of dried chilli flakes and half a teaspoon of black mustard seeds.","Mix in half a can of chopped tomatoes, drained.","Lightly beat 4 eggs and add those too.","Warm a thin pool of butter in a 20cm shallow non-stick pan, then add the egg and tomato mixture.","Cook till a golden crust has formed on the base but the top is still quite liquid in the centre, then place under a preheated overhead grill and cook for 2 minutes or so, till lightly set.","Melt a thick slice of butter in a small non-stick frying pan.","Remove the skin from 200g black pudding and crumble the pudding into the hot butter, leaving it to colour to a deep golden brown.","Lightly beat 3 eggs, add about 3 tablespoons of roughly chopped parsley, then pour the mixture over the black pudding.","Add 50g finely grated Parmesan cheese.","Cook over a fairly low heat till the bottom has formed a golden crust. The centre will hopefully still be wobbly.","Slip the pan under a hot grill till the frittata has set and the top is lightly coloured.","Cut into wedges to serve."]}
- Assistantjson
{ "data": "main" }