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":"Millet with Roasted Tomatoes null","description":"Millet is a very common cereal in sub-Saharan Africa, where it's prepared with sauces, as porridge, or in fritters. For a long time, I ate only sweet millet dishes; one of my favorites was a comforting millet porridge with ginger. Recently, however, I've been enjoying it with grilled or roasted vegetables for an easy, delicious, and nutritious meal. Millet is a good source of vitamins B and E, iron and zinc, silica, phosphorus, and magnesium and also an excellent source of fiber.","ingredients":[{"section":"For the recipe","ingredients":["4 tomatoes, quartered","1 large red onion, diced","1 garlic clove, chopped","½ cup (80 ml) olive oil","Salt","Black pepper","1 cup (200 g) millet, rinsed","Juice of 1 lemon","1 tablespoon chopped mint","1 tablespoon chopped parsley"]}],"instructions":["Preheat the oven to 400°F (200°C). Line a baking dish with parchment paper.","Place the tomatoes, onion, and garlic in the baking dish, drizzle with a little oil, and season with salt and pepper. Roast for 30 minutes, until golden brown. Transfer to a large bowl.","Meanwhile, place the millet in a pot with 2 cups (480 ml) salted water. Stir, bring to a boil, reduce the heat to low, cover, and simmer until the liquid is absorbed, 10 minutes. Remove from the heat and let stand for 10 minutes.","Uncover the pot and fluff the millet with a fork. Add the millet to the roasted vegetables and stir.","Combine the lemon juice, the remaining oil, the mint, and parsley in a small bowl, then pour the mixture over the millet and vegetables. Toss to combine 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 category from the list.
- Assistantjson
{ "data": "main" }