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":"Gâteau de patate à l'ananas façon tatin null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["1 kg de patate douce","1 ananas Victoria","50 g de farine ou de fécule de maïs","4 œuf","100 g de sucre de canne","Le jus d'un citron","Un petit verre de Rhum. 5 à 10 cl. (facultatif)","Une gousse de vanille"]}],"instructions":["Tout d'abord, faites bouillir les patates douces 30 minutes environ.","Laissez-les refroidir puis enlevez la peau et écrasez-les en purée.","Ensuite, épluchez l'ananas et coupez en tranche de 1 cm puis placez les tranches au fond du moule.","Dans une casserole, faites chauffer 50 g de sucre, quand il commence à prendre une couleur ambrée coupez le feu et ajoutez le jus de citron.","Mélangez bien et ajoutez ce caramel sur les tranches d'ananas.","Coupez les gousses de vanille en deux dans le sens de la longueur.","Avec la pointe du couteau, récupérez les graines.","Dans un bol, battez les œufs et mélangez-les avec la purée de patates douce.","Ajoutez la farine, le reste de sucre, le rhum et les graines de vanille puis mélangez bien le tout.","Ajoutez cette préparation sur les ananas et étalez bien la pâte.","Pour finir, enfourner à 180° pendant 20 minutes environ.","Puis baissez la température à 150° pendant 30 minute environ.","Laissez refroidir avant de démouler le gâteau à l'envers. (Les tranches d'nanas au-dessus.)"]}
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": "dessert" }