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":"Spinach, Potatoes & Peas null","description":"I absolutely love fresh spinach, so tender and sweet. You really have to try this - it's very easy to make and on your table in less than 30 minutes. This dish is the perfect accompaniment to Khuri & Khitchri (see pages 56-7), but it's also delicious served simply with Roti (see pages 126-7).","ingredients":[{"section":"For the recipe","ingredients":["100g frozen peas","2 tablespoons oil","1 onion, finely sliced","1 teaspoon ginger paste","1 teaspoon garlic paste","1 teaspoon green chilli paste","1 potato, cubed","1 teaspoon ground cumin","1 teaspoon ground coriander","½ teaspoon ground turmeric","1 fresh tomato, diced","500g spinach, finely chopped","salt"]}],"instructions":["Cook the frozen peas in a saucepan of boiling water for 3-4 minutes, then drain in a colander.","Heat a medium saucepan on a low heat, add the oil and onion and cook for about 2 minutes until softened.","Add the ginger paste, garlic paste and chilli paste and cook, stirring, for another minute.","Add the potato, stir well, cover and cook for 10 minutes or until the potato has softened. (If the saucepan is looking a bit dry, add a splash of water to the potato to help it cook. Sometimes the steam created is enough, but if needed, add some additional water.)","Once the potato is cooked, add the cumin, coriander, turmeric, tomato, spinach and peas and season with salt.","Stir everything together, cover and cook on a medium heat for 8-10 minutes until the tomatoes have softened and the spinach has wilted."]}
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" }