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":"EGG AND POTATO HASH This is traditionally a breakfast dish but it was also one of my mother's go-to dishes for lunch or dinner on busy days when she didn't have time to cook a proper meal. When served with some Labaneh (page 26) and a plate of fresh vegetables, it includes everything you could possibly want in a meal-carbs, protein, dairy, and vegetables-and is ready to eat in about 30 minutes. You do, however, have the option to add other vegetables like onions, garlic, and bell peppers. In that case, just make sure to sauté the vegetables, cooking those with the longest cooking time first.","description":"","ingredients":[{"section":"For the recipe","ingredients":["3 tablespoons olive oil","1 lb 11 oz/750 g potatoes (about 5 small or 3 large), chopped into ½ inch/1 cm cubes","¼ teaspoon Nine Spice Mix (page 24, or use ground allspice)","½ teaspoon salt","1/4 teaspoon black pepper (optional)","4 eggs, lightly beaten","fresh herbs and chilli flakes, to garnish"]},{"section":"To serve","ingredients":["-Pita bread, homemade (page 38) or store-bought"]}],"instructions":["Heat the olive oil in a large lidded nonstick or cast-iron skillet (frying pan) over medium-high heat.","Add the potatoes and cook for 20-25 minutes, tossing frequently, until golden brown and crisp all over.","Add the Nine Spice Mix, salt, and pepper and give it one more toss.","If the potatoes are still not soft (a fork should slip into a piece easily if ready), add 1-2 teaspoons of water, cover the pan, and let cook for another 5 minutes, tossing once or twice during that time.","Pour the beaten egg over the potatoes and use a rubber spatula to mix the eggs in until the potatoes are fully coated.","Continue to move around the pan with the spatula until the eggs are cooked and evenly dispersed throughout the potatoes, about 2-3 minutes.","Remove from the heat, garnish with fresh herbs and chilli flakes and serve with warm pita bread."]}
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" }