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":"Makrout aux Dattes Un délicieux gâteau algérien à la semoule et aux dattes, frit et enrobé de miel.","description":"","ingredients":[{"section":"Pâte","ingredients":["500 g de semoule moyenne","125 g de beurre fondu","• 1 pincée de sel","⚫ ½ verre d'eau (environ 125 ml)"]},{"section":"Farce","ingredients":["250 g de pâte de dattes","1 c. à soupe de cannelle","•\n1 c. à soupe de beurre fondu"]},{"section":"Autres","ingredients":["• Huile pour friture","• Miel"]}],"instructions":["1. Préparer la pâte","• Mélangez la semoule avec le sel et le beurre fondu.","• Ajoutez 1'eau progressivement et travaillez jusqu'à obtenir une pâte homogène.","2. Préparer la farce","• Mélangez la pâte de dattes avec la cannelle et le beurre.","3. Façonner les makrouts","• Formez un boudin de pâte et creusez un sillon au centre.","• Remplissez-le avec la farce aux dattes et refermez.","•Roulez pour obtenir un cylindre bien lisse, puis coupez en losanges.","4. Cuisson","•Faites frire dans 1 * huile chaude jusqu'à ce qu'ils soient dorés.","⚫ Trempez immédiatement dans du miel tiède."]}
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": "" }
- Assistantjson
{ "data": "dessert" }