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":"Roti de porc et pommes de terre à l'ail null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["huile végétale","1 c. à tab beurre","1 carré de porc paré (environ 4 lb/2 kg)","4 à 5 gousses d'ail coupées en tranches","15 ml moutarde de Dijon","3 à 4 brins de thym frais (environ)","8 pommes de terre coupées en quartiers","sel et poivre noir du moulin"]}],"instructions":["Dans une casserole, chauffer l'huile et le beurre à feu moyen-vif.","Faire dorer le rôti de chaque côté et le mettre sur une planche à découper.","Inciser le rôti à plusieurs endroits et insérer les tranches d'ail.","Badigeonner de la moutarde.","Saler et poivrer.","Remettre le rôti dans la casserole et y déposer les brins de thym.","Ajouter assez d'eau dans la casserole pour en couvrir le fond.","Couvrir et cuire à feu moyen de 1 3/4 à 2 heures, ou jusqu'à ce que le porc soit encore légèrement rosé à l'intérieur ou qu'un thermomètre inséré au centre du rôti indique 165°F (74°C) (au besoin, ajouter un peu d'eau pour couvrir le fond).","Mettre le rôti dans une assiette et le couvrir de papier d'aluminium, sans serrer.","Réserver au chaud.","Dans la casserole, ajouter les pommes de terre au jus de cuisson.","Couvrir et cuire à feu doux, en brassant de temps à autre, de 20 à 25 minutes ou jusqu'à ce qu'elles soient tendres.","Au moment de servir, couper le rôti de porc en tranches.","Accompagner des pommes de terre."]}
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" }