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":"PILAU RICE null","description":"Pilau Rice is an East African staple, originating in India and brought to the region by migrating Indians. This version includes peppers, tomatoes, onion, and cashews, as well as a variety of fragrant spices.","ingredients":[{"section":"For the recipe","ingredients":["2 tablespoons canola oil","1 teaspoon ground cumin","1 teaspoon curry powder","½ teaspoon ground cardamom","½ teaspoon smoked paprika","½ teaspoon white peppercorns","1 cinnamon stick","1 star anise","1 bay leaf","1 cayenne pepper, chopped","1 onion, chopped","2 garlic cloves, chopped","1 teaspoon grated ginger","2 tomatoes, chopped","1 red bell pepper, chopped","1½ cups (300g) white basmati rice","1½ cups (360 ml) vegetable stock","1 cup (240 ml) coconut milk","Salt","Black pepper","¼ cup (100 g) cashews"]}],"instructions":["1. Heat the oil in a large pot over medium heat, add the cumin, curry powder, cardamom, paprika, and peppercorns, and stir. Add the cinnamon stick, star anise, and bay leaf, and cook until fragrant, stirring constantly, about 1 minute.","2. Add the cayenne pepper, onion, garlic, and ginger. Cook for 1 minute, then stir in the tomatoes and bell pepper.","3. Add the rice and cook for 2 minutes, stirring constantly, then add the vegetable stock and coconut milk, and season with salt and pepper. Bring the stock to a boil, cover (see Tip on page 130), reduce the heat to low, and simmer until the rice is tender and has absorbed all of the liquid, 20 minutes.","4. Remove the cinnamon stick, star anise, and bay leaf from the pot. Stir in the cashews 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.
- Assistant
{ "data": "main" }