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":"Marrow Gratin null","description":"A delight for anyone haunted by a marrow in their veg box.","ingredients":[{"section":"For the recipe","ingredients":["750g peeled marrow","butter","oil","300g mushrooms","15g basil leaves","1 ball of mozzarella","500ml béchamel sauce","Parmesan"]}],"instructions":["Set the oven at 200°C/Gas 6.","Remove and discard the seeds and fibres from 750g peeled marrow, then slice into rounds about the thickness of a pound coin.","Warm a little butter and oil in a shallow pan.","As it starts to bubble, lower in a few of the marrow slices in a single layer and let them colour a little underneath.","Turn them over and cook the other side - they should be translucent and tender.","Remove them and drain on kitchen paper.","Continue with the rest of the marrow slices.","While the marrow is cooking, thickly slice 300g mushrooms.","When all the marrow is done, add the mushrooms to the pan, with a little more butter if necessary, season them with salt and pepper, then, as they are approaching doneness, stir in 15g basil leaves.","Once they have wilted, remove the pan from the heat.","Cover the base of a large, shallow baking dish with some of the marrow and mushroom mixture.","Tear a ball of mozzarella into pieces and dot them over the mushroom mixture.","Spoon 500ml béchamel sauce (ready-made is fine) over the surface, then add another layer of marrow, seasoning as you go.","Finally, top with a generous dusting of grated Parmesan.","Bake for about 40 minutes, till the sauce is bubbling, the top gently browned."]}
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.
- Assistant
{ "data": "main" }