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":"Bobotie South African Casserole","description":"Bobotie, a well-known South African dish similar to the French Hachis Parmentier, is traditionally made with meat. It's a very comforting dish, both sweet and salty from the presence of dried fruits. It's typically served with Geelrys (South African Yellow Rice with Raisins) and vegetables. Bobotie was brought to Africa in the seventeenth century from Indonesia and adapted by the Cape Malays, descendants of slaves and political deportees from Indonesia and Malaysia","ingredients":[{"section":"For the recipe","ingredients":["Vegetable oil","1½ cups (300 g) green lentils","2 onions, minced","3 carrots, chopped","1 cup (115 g) walnuts, chopped","2 apples, grated","1 cup (150 g) raisins","3 tablespoons apricot jam","2 garlic cloves, minced","1 tablespoon soy sauce","2 teaspoons ground cinnamon","2 teaspoons ground cumin","1½ teaspoons black pepper","½ teaspoon ground cloves","½ teaspoon paprika","½ teaspoon ground turmeric","Juice of 1 lemon","Zest of 1 lemon","2 slices whole wheat bread","¼ cup (180 ml) plant milk (like almond or soy)","Salt"]},{"section":"SAUCE","ingredients":["¼ cup (90 g) chickpea flour","1 teaspoon baking powder","½ teaspoon ground turmeric","¼ teaspoon salt","1 cup (240 ml) plant milk","2 bay leaves"]}],"instructions":["Preheat the oven to 350°F (180°C). Grease a baking dish with oil.","Place the lentils in a medium pot and with 4 cups (960 ml) water. Bring to a boil, reduce the heat to a very low simmer, and cook the lentils until tender but not mushy, 18 to 20 minutes. Drain and set aside to cool. When cooled, mash them and stir with a fork to form a slightly rough texture.","Heat a thin layer of oil in a frying pan over medium heat. Add the onions and cook until translucent, 5 minutes. Mix the carrots and walnuts together in a medium bowl, then add them to the pan, along with the lentils. Stir to combine and cook the mixture until softened, 5 minutes.","Add the apples, raisins, jam, garlic, soy sauce, cinnamon, cumin, black pepper, cloves, paprika, and turmeric. Add the lemon juice, lemon zest, and salt to taste. Reduce the heat to low and cook the lentil mixture until the liquid has evaporated, 5 minutes.","Soak the bread slices in the milk. When the slices are soft, use a fork to transfer them to the pan. Stir gently to incorporate them into the lentil mixture. Transfer the mixture to the baking dish, then pack and smooth the surface.","To make the sauce, mix together the flour, baking powder, turmeric, and salt in a small bowl, then slowly stir in the milk. Pour it over the lentil mixture, add the bay leaves, and bake in the oven for 20 to 30 minutes, until golden brown."]}
- Assistantjson
{ "data": "main" }