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":"Fasulia bil Zayt Green beans and tomato sauce","description":"This is a great side dish or a vegan/vegetarian main. You can make it in advance, as it's served at room temperature.","ingredients":[{"section":"TO MAKE","ingredients":["450g fine green beans, tails trimmed","2 tablespoons olive oil","1 teaspoon cumin seeds","5 garlic cloves, very thinly sliced","1-2 red chillies, very thinly sliced (optional)","1 tablespoon tomato purée","1 tablespoon red pepper paste","1 x 400g tin of chopped tomatoes","1 teaspoon ground cumin","1 teaspoon ground black pepper","Good pinch of salt"]},{"section":"TO SERVE","ingredients":["Tahini sauce","Green plate","Greek-style yogurt (optional)"]}],"instructions":["Boil the beans in a large pot of salted water for 3-4 minutes, until just cooked.","Drain and set aside.","In the same pot, over a medium heat, add the olive oil and cumin seeds and toast for a minute before adding the garlic and chillies and frying for a minute.","Add the tomato purée and pepper paste, stir to cook out for a few minutes then add the chopped tomatoes.","Stir in the ground cumin, pepper and salt, then simmer for 10-15 minutes until you have a thick, rich sauce.","Add the green beans for the last few minutes then turn off the heat and allow to cool to room temperature.","Serve with tahini sauce, a green plate and a dollop of yogurt on the side, if you like."]}
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:
- Assistant
{ "data": "main" }