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":"Smoked Ham and Butter Beans null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["1 pound dried butter or lima beans","¼ cup bacon drippings (from about 1 pound bacon)","3 cups diced smoked ham","3 stalks celery, diced","1 medium-size yellow onion, diced","1 carrot, peeled and grated","6 cloves garlic, minced","1 tablespoon chopped fresh thyme","1 tablespoon Pork Rub (see recipe, see here)","1 teaspoon dried sage","1 teaspoon crushed red pepper flakes","1 teaspoon ground black pepper","1 tablespoon all-purpose flour","1 (32-ounce) carton chicken stock, plus more if needed","1 bay leaf","Kosher salt"]}],"instructions":["1. Rinse beans. Place in a large bowl, and cover with 2 inches of cold water. Soak overnight in refrigerator.","2. The next day, drain beans. In a large Dutch oven, heat bacon drippings over medium heat. Stir in ham. Cook, stirring occasionally, until browned, about 5 minutes. Stir in celery and next 8 ingredients (through black pepper). Cook, stirring occasionally, until veggies are tender, about 10 minutes. Stir in flour, and cook 1 minute. Add chicken stock, scraping bottom of pot to release any browned bits. Stir in beans, bay leaf, and a couple large pinches of salt.","3. Bring to a boil, reduce heat to low, and simmer until beans are tender and sauce thickens, about 1½ hours. Discard bay leaf. Season to taste. We like this served over rice with a side of cornbread."]}
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:
- Assistant
{ "data": "main" }