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 fromage null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["3 c. à tab\nbeurre","1 paquet de macaronis (450 g)","gros oignons, hachés","45 ml","1 gousse d'ail hachée finement","10 oz\ncheddar marbré coupé\nen gros morceaux","300 g","1 boîte de tomates broyées\nadditionnées de purée\n(de type Pastene)\n(28 oz/796 ml)","1/2 c. à thé\nsel de céleri","sel et poivre noir du moulin","2 ml"]}],"instructions":["Dans une grande casserole d'eau bouillante salée,\ncuire les pâtes de 8 à 10 minutes ou jusqu'à ce qu'elles\nsoient al dente. Égoutter les pâtes et les passer sous\nl'eau froide. Réserver.","Dans la casserole, faire fondre le beurre à feu\nmoyen. Ajouter les oignons et l'ail et cuire de 3 à\n5 minutes ou jusqu'à ce qu'ils aient ramolli. Ajouter\nle cheddar, les tomates et le sel de céleri et bien\nmélanger (ne pas trop cuire). Saler et poivrer.","Dans un grand plat allant au four, mélanger les\nmacaronis réservés et la préparation au fromage.\nCouvrir le plat de papier d'aluminium et cuire au four\npréchauffé à 350°F (180°C) de 20 à 30 minutes."]}
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": "main" }