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":"CLASSIC BBQ RIBS WITH BRUSSELS SPROUTS null","description":"It's not absolutely necessary to broil the ribs after they come out of the slow cooker, but it does give them a nice caramelized brown crust.","ingredients":[{"section":"For the recipe","ingredients":["1 teaspoon salt","¼ teaspoon black pepper","1 teaspoon onion powder","3½ pounds baby back ribs, membrane removed (see Tip), cut into 4 portions","1 bottle (10 ounces) Whole30-compliant barbecue sauce","1 medium red onion, minced","4 cloves garlic, minced","¼ cup pitted dates, finely chopped","1 package (10 ounces) frozen roasted Brussels sprouts or 12 ounces fresh Brussels sprouts"]}],"instructions":["IN a small bowl, combine the salt, pepper, and onion powder.","Rub the ribs with the seasoning.","Lay the ribs, bone sides down, in a 6-quart slow cooker.","Pour the barbecue sauce over the ribs.","Add the onion, garlic, and dates.","COVER and cook on low for 6 to 7 hours or on high for 3 to 3½ hours.","Transfer the ribs to a platter, or to a large foil-lined baking sheet if broiling.","Skim the fat from the cooking liquid.","Spoon some of the cooking liquid over the ribs.","MEANWHILE, prepare the frozen Brussels sprouts according to the package directions, or roast fresh sprouts (see Tip).","BROIL the ribs, if desired: Place an oven rack 4 inches from the broiler and preheat the broiler.","Broil the ribs for 3 to 5 minutes, or until the sauce begins to bubble.","SERVE the ribs with the Brussels sprouts alongside."]}
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" }