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":"HACHIS PARMENTIER null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["1,2 kg de pommes\nde terre (bintjes)","2 oignons","2 gousses d'ail","100 g de beurre","300 g de viande de bœuf\ncuite (reste de pot-au-feu)","150 g d'échine de porc,\nhachée","20 cl de lait","50 g de gruyère râpé","6 brins de persil plat","sel, poivre"]}],"instructions":["É pluchez les pommes de terre, coupez les en quartiers et faites les cuire\ndans une casserole d'eau salée pendant 25 min.","Pendant ce temps, hachez la\nviande de boeuf; pelez et émincez les oignons et les gousses d'ail, puis faites-les\nfondre dans une poêle avec 30 g de beurre.","Ajoutez la viande de boeuf et l'échine de porc,\nsalez, poivrez et laissez cuire à feu doux pendant\n5 min, en remuant avec une cuillère en bois.","Hors\ndu feu, ajoutez le persil ciselé et mélangez.","Préchauffez le four à 200 °C (th. 6).","Égouttez les pommes de terre et réduisez-les en\npurée, puis incorporez le lait préalablement bouilli\net 40 g de beurre détaillé en petits morceaux.","Salez, poivrez, mélangez bien.","Beurrez un plat à\ngratin, étalez-y la moitié de la purée, couvrez avec\nle hachis de viande, puis le reste de purée.","Parsemez de gruyère râpé et de noisettes de beur-\nre, et faites gratiner au four pendant 15 à 20 min.","Servez le hachis parmentier bien chaud, accompa-\ngné d'une salade verte."]}
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" }