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":"Red Red Ghanian Red Stew","description":"The aptly named "Red Red," eaten at all hours of the day, is iconic Ghanaian street food. It takes its name from the red palm oil used in it, but also from the fried plantains which often accompany it. Here, I've replaced the fried plantains with avocado slices.","ingredients":[{"section":"For the recipe","ingredients":["7 ounces (200 g) black-eyed peas","¼ cup (60 ml) red palm oil (or argan oil)","1 large red onion, minced","2 garlic cloves, minced","One 1.5-inch (4 cm) piece of ginger, minced","1 tablespoon tomato paste","4 ripe tomatoes, chopped","2 habanero chile peppers or small sweet peppers","2 cups (480 ml) vegetable stock","Sliced avocado","Flat-leaf parsley sprigs, chopped","Salt","Black pepper"]}],"instructions":["1. Soak the black-eyed peas in hot water for 30 minutes.","Place the beans in a large pot and cover with water.","Bring to a boil, reduce to a simmer, and cook until tender, 30 to 40 minutes.","2. Heat the oil in a frying pan over medium-high heat.","Add the onion, garlic, and ginger and cook until tender and lightly caramelized, 3 to 4 minutes.","Stir in the tomato paste, add the tomatoes and habaneros, stir for 1 minute, and cook for 10 minutes.","3. Add the black-eyed peas and vegetable stock to the pan, reduce the heat to low, and simmer until creamy, 30 minutes.","4. Season with salt and pepper to taste, then top with avocado and parsley and serve."]}
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:
- Assistantjson
{ "data": "main" }