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":"Boiled Eggs null","description":"Boiled eggs are terrific in ramen and many other bowls, and are handy for planning meals in advance. A cooked, boiled egg can sit in the fridge for several days, still in its shell, and molten-yolk eggs can be rewarmed in a bowl of hot tap water before serving.","ingredients":[{"section":"For the recipe","ingredients":["Salt","Large eggs, in their shells, ideally at room temperature"]}],"instructions":["Prepare an ice-water bath.","Bring a saucepan of water to boil, and salt it generously.","Using a spider skimmer or slotted spoon, lower the eggs-as many as you'd like to cook, or as many as can fit comfortably in a single layer-into the water, ensuring that they're fully submerged.","Stir the eggs periodically to keep the yolks centered.","For a molten yolk: Lower the heat to maintain a gentle boil and cook the eggs for 7 minutes.","For a firm yolk: Remove the pan from the heat, cover it, and let the eggs stand for 11 minutes.","Lift the eggs out of the water with the spider skimmer and plunge into the ice bath to cool.","To peel the eggs, crack all over, then peel back the skin while holding the egg in the ice water or under cold running water."]}
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": "starter" }