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":"Sweet Potato and Kidney Bean Stew ","description":"This stew can be eaten on its own or with rice, particularly Jollof Rice. It can also be enjoyed as leftovers, when the flavor of the spices has really developed. In some ways, that's even better! It has become one of my favorite dishes.","ingredients":[{"section":"For the recipe","ingredients":["1 tablespoon coconut oil","1 red onion, chopped","1 large red bell pepper, diced","4 garlic cloves, minced","2 teaspoons ground coriander","2 teaspoons ground cumin","2 teaspoons smoked paprika","1 teaspoon paprika or ¼ teaspoon cayenne","4 teaspoon ground allspice","Salt","Black pepper","2 large sweet potatoes, peeled and cut into 1-inch (2.5 cm) cubes","Two 15-ounce (411 g) cans red kidney beans","One 28-ounce (794 g) can crushed tomatoes","1 tablespoon tomato paste","2 teaspoons coconut sugar","1 cup (240 ml) vegetable stock","½ bunch cilantro, chopped","1 scallion, chopped"]}],"instructions":["1. Heat the oil in a pot over medium heat. Add the onion and cook until translucent, stirring frequently, 5 minutes.","2. Add the bell pepper, garlic, coriander, cumin, smoked paprika, paprika, and allspice. Add salt and pepper to taste, then stir and cook until the vegetables are softened, 5 minutes. If the mixture begins to stick to the bottom of the pot, add a splash of water.","3. Add the sweet potatoes. Stir well, then add the beans, tomatoes, tomato paste, and sugar. Add the vegetable stock and stir well to combine. Reduce the heat to low, cover, and simmer until the potatoes are soft and the vegetable stock is reduced, 20 minutes. Top with cilantro and scallion before serving."]}
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": "" }
- Assistant
{ "data": "main" }