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":"Macaronis au jambon et au fromage null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["2 c. à tab beurre","1 petit oignon, haché","1 t (30 ml) jambon cuit, coupé en dés (facultatif)","1/3 t (80 ml) farine","3t (750 ml) lait","1 c. à thé moutarde sèche","1/2 c. à thé sel","1/2 c. à thé poivre noir du moulin","pincée de piment de Cayenne","2 1/2 t (625 ml) cheddar fort râpé (10 oz/300 g)","3t (750 ml) macaronis","1/2 t (125 ml) mie de pain frais émiettée","1/4 t (60 ml) parmesan râpé"]}],"instructions":["1 Dans une casserole, faire fondre le beurre à feu moyen. Ajouter l'oignon et le jambon, si désiré, et cuire de 3 à 5 minutes ou jusqu'à ce que l'oignon ait ramolli.","Ajouter la farine et cuire, en brassant, pendant 1 minute. Ajouter petit à petit le lait, en brassant à l'aide d'un fouet. Poursuivre la cuisson, en brassant, de 5 à 8 minutes ou jusqu'à ce que la sauce ait épaissi. Ajouter la moutarde sèche, le sel, le poivre, le piment de Cayenne et le cheddar et mélanger jusqu'à ce que le fromage ait fondu.","Entre-temps, dans une grande casserole d'eau bouillante salée, cuire les macaronis pendant environ 8 minutes ou jusqu'à ce qu'ils soient al dente. Égoutter et remettre dans la casserole. Ajouter la sauce et mélanger pour bien enrober les pâtes. Étendre la préparation dans un plat allant au four de 8 po (20 cm) de côté.","3 Dans un petit bol, mélanger la mie de pain et le parmesan. Parsemer la préparation de macaronis du mélange de mie de pain. Cuire sous le gril préchauffé du four pendant 3 minutes ou jusqu'à ce que la garniture soit dorée."]}
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 category from the list.
- Assistantjson
{ "data": "main" }