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":"Spaghetti Squash with Basil and Parmesan Makes 2 cups, enough for 4 bowls as a topping","description":"When roasted, spaghetti squash transforms into noodle-like strands that work equally well as a bowl topping or base. Choose a firm squash with an even, pale-yellow color. Avoid greenish-tinged squashes, which are immature, and those that yield to gentle pressure, which are old. This recipe can be easily doubled; use a 13 by 9-inch baking dish instead of an 8-inch baking dish.","ingredients":[{"section":"For the recipe","ingredients":["spaghetti squash (1x pounds), halved lengthwise and seeded","1 tablespoon extra-virgin olive oil or vegetable oil, divided","¼ teaspoon table salt","½ teaspoon pepper","2 tablespoons grated Parmesan cheese","1 teaspoon chopped fresh basil","½ teaspoon lemon juice"]}],"instructions":["Adjust oven rack to middle position and heat oven to 450 degrees.","Brush cut sides of squash with 1½ teaspoons of the oil and sprinkle with salt and pepper.","Lay squash cut sides down in 8-inch baking dish.","Roast squash until just tender and tip of paring knife can be slipped into nesh with slight resistance, 25 to 30 minutes.","Flip squash over and let cool slightly.","Holding squash with clean dish towel over large bowl, use fork to scrape squash flesh from skin while shredding it into fine pieces.","Drain excess liquid from bowl, then gently stir in Parmesan, basil, lemon juice, and remaining 1½ teaspoons oil.","Season with salt and pepper to taste."]}
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.
- Assistantjson
{ "data": "main" }