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":"BOUDIN NOIR ACHARDS Le boudin créole fait partie des recettes phares de l'île. À accompagner d'un riz blanc pour un repas complet équilibré.","description":"","ingredients":[{"section":"For the recipe","ingredients":["600 g de boudin noir créole","2 oignons","5 gousses d'ail","20 g de gingembre","2 carottes","1 chouchou","200 g de haricots verts","100 g de chou-fleur","1/2 chou","8 gros piments","1 cuillerée à café de curcuma","2 cuillerées à soupe de vinaigre","Sel"]}],"instructions":["Mixez les oignons, l'ail et le gingembre.","Pelez les carottes et le chouchou, puis détaillez-les en julienne.","Coupez les haricots verts en deux dans le sens de la longueur et les bouquets de chou-fleur en lamelles.","Faites blanchir les haricots et les lamelles de chou-fleur. Égouttez-les.","Hachez le chou.","Coupez les gros piments en fines lamelles. Faites-les cuire.","Dans une poêle, faites revenir les oignons, l'ail et le gingembre mixés avec le gros piment, le sel et le curcuma.","Ajoutez tous les légumes. Remuez bien pendant 5 minutes, puis éteignez le feu.","Hors du feu, ajoutez le vinaigre. Mélangez bien. Réservez.","Coupez le boudin en rondelles d'1 cm (environ 100 g par personne). Passez-le 2 minutes au micro-ondes ou faites-le cuire à la poêle.","Dans une assiette, mettez les achards et disposez au-dessus les rondelles de boudin. Servez aussitôt."]}
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": "main" }