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":"Vermicelli Rice with Spinach and Cashews null","description":"Vermicelli rice is a dish of Lebanese origin that has been integrated into West African cuisines. This recipe is based on one that I learned from my mom, but I've added spinach to make it my own.","ingredients":[{"section":"For the recipe","ingredients":["½ cup (65 g) cashews","¼ cup (60 ml) olive oil","3 scallions, chopped","2 garlic cloves, chopped","1½ cup (250 g) white basmati rice, drained and rinsed","4 ounces (115 g) vermicelli","2 teaspoons curry powder","1 teaspoon grated ginger","1 teaspoon coconut sugar","1 vegetable stock cube, crumbled","14 ounces (400 g) fresh spinach","2 tablespoons chopped parsley"]}],"instructions":["1. Heat a dry skillet over medium-high heat and lightly toast the cashews for about 2 minutes.","2. Heat the oil in a frying pan over medium heat, add the scallions and garlic, and cook until softened, 5 minutes. Add the rice, vermicelli, curry powder, ginger, sugar, and stock cube, and stir. Add 2½ cups (600 ml) water, and bring to a boil. Cover and let cook for 3 minutes on high heat, then reduce the heat to low and cook for 7 minutes, until the rice is tender and has absorbed the water.","3. Five minutes before the rice is ready, stir in the spinach and parsley. Add the roasted cashews just before serving."]}
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": "" }
- Assistantjson
{ "data": "main" }