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":"Pouding au riz au four null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["3/4 t riz non cuit, rincé","2 t eau","180 ml lait chaud","1 pincée de sel","500 ml lait chaud","1 pincée de muscade","3 oeufs","1 t sucre","250 ml lait froid","1 c. à tab beurre froid, coupé en dés","250 ml sirop d'érable (facultatif)"]}],"instructions":["1 Dans une casserole, mettre le riz, l'eau et le sel et porter à ébullition. Couvrir et laisser mijoter à feu doux pendant environ 20 minutes. Ajouter le lait chaud et mélanger. Couvrir et poursuivre la cuisson à feu doux pendant 15 minutes. Retirer la casserole du feu et incorporer la muscade.","2 Entre-temps, dans un bol, à l'aide d'un fouet, mélanger les oeufs, le sucre et le lait froid jusqu'à ce que le sucre soit dissous. Incorporer le mélange d'oeufs au riz. Étendre la préparation dans un plat allant au four de 8 po (20 cm) de côté, légèrement beurré. Parsemer du beurre. Cuire au four préchauffé à 200°F (95°C) de 45 minutes à 1 heure. Au moment de servir, arroser d'un filet de sirop d'érable, si désiré."]}
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:
json { "data": "" }
- Assistant
{ "data": "dessert" }