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":"MADROUBA MALLEH (SAVORY TURMERIC-SCENTED SALTFISH AND RICE PORRIDGE) null","description":"A seafood variation on chicken madrouba, this flavorful porridge features saltfish sautéed with onions and garlic, then added to spicy, turmeric-heavy rice. Boiling and rinsing the fish thoroughly, along with using high-quality preserved fish, enhances the clean, fresh flavor of this dish.","ingredients":[{"section":"For the recipe","ingredients":["½ to ½ pound salt cod or salt pollock","2 cups long-grain white rice","4 or 5 dried limes","2 medium red onions, minced","½ cup ghee, plus more, melted, for serving","4 cloves garlic, minced","½ serrano chile, seeded and minced","3 plum tomatoes, cored and minced","2 teaspoons ground turmeric","¾ teaspoon ground coriander","¼ teaspoon ground cumin","¼ teaspoon ground ginger","¾ teaspoon ground black pepper","½ teaspoon red pepper flakes, plus more for garnish","¼ teaspoon cayenne","1/4 teaspoon ground cinnamon","½ teaspoon ground cardamom","½ teaspoon ground cloves","½ teaspoon ground nutmeg","2 teaspoons kosher salt","½ cup vegetable oil","2 small red onions, halved and thinly sliced","Juice of 1 lime"]}],"instructions":["Place the salt cod in a small saucepan and add enough water to cover; bring to a boil over high heat and cook 20 minutes.","Drain the cod, return it to the saucepan, and repeat the process twice more.","Transfer the cod to a bowl and let it cool.","Flake the fish using a fork and set aside.","Rinse the rice a few times, until the water runs clear.","Soak in clean water 15 to 30 minutes.","Drain when ready to use.","Remove the flesh of the dried limes by cracking the lime with the bottom of the handle of a heavy knife. Then cut the lime in half where pierced, pull out the thin, papery flesh, and discard any seeds and the dried outer rind. (If the inside of the dried lime is dry and hollow or moldy, discard and use a new one.) Set aside.","Sauté the minced onions in the ghee in a heavy-bottom pot or Dutch oven over medium-high heat until the onions begin to brown, 10 to 15 minutes.","Combine the garlic and chile in a small bowl and mash into a paste.","Add the garlic-chile paste to the onions; stir and cook 2 minutes.","Add the tomatoes and cook 5 minutes, stirring and mashing to break them up.","Stir in the flaked fish, dried lime flesh, turmeric, coriander, cumin, ginger, black pepper, red pepper flakes, cayenne, cinnamon, cardamom, cloves, and nutmeg, and cook 5 minutes more.","Add 3 cups water, the drained rice, and salt; turn the heat to medium, bring to a boil, and boil 15 minutes.","Decrease the heat to low and cook, covered, 50 minutes to 1 hour, adding hot water along the way as needed (anywhere from 3 to 4 cups total), stirring frequently to prevent sticking, until the rice begins to break down.","Meanwhile, make the frizzled onions. Heat the oil in a small skillet or saucepan over medium to medium-high heat, and fry the sliced onions, in two batches if necessary, until deep golden brown, 5 to 8 minutes.","Remove the onions using a slotted spoon and transfer to a paper towel-lined plate to drain.","When the rice is cooked through and mushy, add the lime juice (use lime if it's extra juicy, 1 to 2 tablespoons lime juice), stir well, then whip and mash with a sturdy wooden spoon until the rice becomes smooth and porridge-like.","To serve, drizzle with ghee, sprinkle with red pepper flakes, and top with the frizzled onions."]}
- Assistant
{ "data": "main" }