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":"Ham Hock, Herb Sauce null","description":"The nannying quality of peas and ham, the vitality of fresh herbs. Quiet, old-fashioned flavours for leftover ham hock.","ingredients":[{"section":"For the recipe","ingredients":["500-600g ham hock","200g fresh or frozen peas","a large clove of garlic","a handful of parsley","a handful of chives","a handful of basil leaves","pepper (if necessary)"]},{"section":"For the salad (optional)","ingredients":["chicory","inner lettuce leaves","mint","parsley","basil","a finely chopped shallot","lemon juice","salt","olive oil","hard-boiled eggs"]}],"instructions":["Put a 500-600g ham hock in a deep pan with just enough water to cover.","Bring to the boil, skim off the froth that rises to the surface, then turn the heat down so the liquid simmers.","Cover with a lid and leave, with the occasional turn, for 45-50 minutes or so, till the ham is cooked through to the bone.","Remove the ham from the cooking liquor, add 200g fresh or frozen peas and a large clove of garlic, and cook for 5 minutes or so, till the peas are tender.","Add a handful of parsley, a handful of chives and a handful of basil leaves to the peas, cook a minute or so longer, then blitz in a blender to give a thick, green sauce.","Add pepper if necessary.","Tear the ham from its bone in large pieces.","Roughly chop a few more of the herbs, then roll the pieces of ham in them.","Spoon the sauce into bowls and add the pieces of ham."]}
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:
- Assistant
{ "data": "main" }