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":"Pork Ribs ","description":"","ingredients":[{"section":"For the recipe","ingredients":["1 slab baby back ribs","Vegetable oil or yellow mustard","½ cup Rib Rub (see recipe, see here)","½ cup your favorite barbecue sauce, plus more for serving"]}],"instructions":["1. Remove membrane on underside of ribs. This is important, because rib membranes act like a barrier by not allowing seasoning or smoke to penetrate. Leaving the membrane on will diminish the eating experience (and you'll be scored down at BBQ competitions).","2. Feel around slab and remove any bone fragments that may still be attached. (It is unpleasant for a family member or judge to bite down on a bone shard.)","3. Rub slab down with vegetable oil or mustard to allow spices to adhere better. In my experience, oil helps the rib surface stay moist longer and creates nice bark during the cooking process.","4. Apply Rib Rub, and let slab rest 1 hour before putting it on the pit. Prepare and preheat a smoker to 250°F. Wrap slab in aluminum foil, and place in smoker; cover and cook 3½ to 4 hours. Check ribs for the "feel" a few hours into the cook. Ribs are done when a meat thermometer reads 200°F to 202°F and when a toothpick or thermometer tip will slide very smoothly in between the bones. You should feel little to no resistance. With experience, you'll also learn to use the color of the rib to help you identify doneness.","5. Remove slab from foil, brush with barbecue sauce, and return to smoker for a few minutes to set sauce."]}
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" }