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":"Tunisian Sweet Potatoes null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["1/2 cup small red beans, soaked for overnight and drained","1 large onion, chopped","2 large red bell peppers, chopped","3 garlic cloves, minced","2 tbsp fresh ginger, minced","2 lbs yams, peeled and chopped into 1/2-inch cubes","3 C. vegetable broth","2 large tomatoes, diced","1-3 jalapeno pepper, minced","1/2 tsp salt","1/2 tsp ground cumin","1/2 tsp ground coriander","1/4 tsp ground cinnamon","1/4 tsp ground black pepper","1/4 C. creamy peanut butter","1/4 C. dry roasted peanuts","1 lime, cut into wedges"]}],"instructions":["In a crockpot add all the ingredients except the peanut butter, peanuts and lime wedges and gently stir to combine.","Set the crockpot on the low settings.","Cook, covered for about 8-10 hours.","In a bowl, mix together the peanut butter and a little liquid from the beans mixture.","Add the peanut butter mixture in the beans mixture and stir to combine.","Top the beans mixture with the peanuts and serve with a drizzling of the lime juice."]}
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": "main" }