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":"Egusi Stew African Pistachio Stew","description":"Egusi Stew is a Nigerian dish traditionally served with "swallows," a starchy paste made of pounded yam, cassava, plantain, fufu, or other foods. Egusi is eaten with your hands, using a swallow to scoop up the stew. You can replace the swallow with rice, yam, or plantains.","ingredients":[{"section":"For the recipe","ingredients":["3 tomatoes, chopped","1 bell pepper, chopped","½ Scotch bonnet pepper or small sweet pepper, seeds removed","3 garlic cloves, chopped","2 tablespoons red palm oil","1 large yellow onion, chopped","3.5 ounces (100 g) egusi (African pistachios), ground","1 cup (240 ml) vegetable stock","1 tablespoon paprika","1 teaspoon curry powder","1 tablespoon tomato paste","1 teaspoon dried thyme","18 ounces (510 g) fresh spinach","4 ounces (113 g) oyster mushrooms (optional)","Salt","Black pepper"]}],"instructions":["Place the tomatoes, bell pepper, Scotch bonnet pepper, and garlic in a food processor and process to form a smooth paste. If necessary, add a splash of water.","Heat the oil in a large pot over medium heat. Add half of the chopped onion and cook until translucent, 5 minutes. Add the tomato mixture, paprika, curry powder, tomato paste, and thyme. Stir, cover, and cook until thickened, 15 minutes.","Meanwhile, mix the egusi, the remaining chopped onion, and ½ cup of the vegetable stock together in a medium bowl.","Add the egusi mixture to the pot and cook until thickened, 10 minutes. Add the spinach, mushrooms, if using, and remaining ½ cup of vegetable stock. Add salt and pepper to taste, reduce the heat to low, cover the pot, and simmer until creamy, 10 minutes. Enjoy hot."]}
Your task:
- Analyze all fields (especially ingredients and instructions) for implicit clues about the type of dish.
- Avoid over-relying on the title alone.
- Assistant
{ "data": "main" }