Goal Objectif est d'identifier l'origine d'une recette de cuisine et de retourner un…
- User
Goal Objectif est d'identifier l'origine d'une recette de cuisine et de retourner un code correspondant dans un format JSON structuré.
1. Recherche d’un pays mentionné dans la recette et extraction de son code ISO 3166-1 alpha-2. 2. Détermination de l’origine culinaire du pays si aucun pays n'est explicitement mentionné. 3. Identification d’un continent si aucun pays ne peut être déterminé. 4. Retour du code WWW si l’origine ne peut être définie. Return Format Renvoies un objet JSON structuré comme suit : json { "data": "<code>" } - Si un pays est mentionné, utilise son code ISO 3166-1 alpha-2 (ex. : FR pour la France). - Si aucun pays n'est trouvé, renvoie un code de continent parmi : WAF (Afrique) WAS (Asie) WEU (Europe) WNA (Amérique du Nord) WSA (Amérique du Sud) WOC (Océanie) - Si aucune information ne permet de déterminer une origine, renvoie WWW. Warnings - Respecte l’ordre de priorité : pays → continent → code WWW. - Le code ISO 3166-1 alpha-2 doit être exact et valide si un pays est identifié. - Le format du JSON doit être strictement respecté et bien formatté. - Ne fais aucune supposition infondée sur l’origine de la recette. Context Dump Données de la recette fournies : json {"title": "Samosa Mashed Potato Pancakes", "description": "These samosa-inspired pancakes offer all the flavor of a samosa without the fuss of dough making. Perfect for an Indian-inspired brunch or as a side dish, they are easy to scale up or down and can be prepared ahead of time.", "subtitle": "A fun Indian-inspired brunch treat.", "ingredients": [ { "section": "For the mashed potato base", "ingredients": [ "4 pounds Yukon Gold potatoes, peeled, cut into 1-inch chunks", "1/4 cup canola oil", "1/4 teaspoon turmeric", "1 teaspoon salt, or to taste" ] }, { "section": "For everything else", "ingredients": [ "2 tablespoons canola oil", "2 teaspoons yellow mustard seeds", "1 medium onion, finely chopped", "1 cup carrot, diced small", "4 garlic cloves, minced", "1-inch square piece of fresh ginger, peeled and minced", "2 teaspoons ground cumin", "½ teaspoon red pepper flakes", "3/4 cup frozen peas", "¼ cup all-purpose flour", "Extra canola oil for panfrying", "Chopped fresh cilantro for garnish (optional)" ] } ], "instructions": [ "Get a big pot for your potatoes and cover them in cold water.", "Bring to a boil.", "Once boiling, lower the heat to medium and simmer for 20 more minutes, or until potatoes are tender.", "Preheat a large, heavy-bottomed skillet (preferably cast iron) over medium-high heat.", "Add the 2 tablespoons canola oil.", "Wait about 15 seconds for oil to heat up, then spoon in the mustard seeds.", "Cover with the lid and let the seeds pop for about a minute.", "If they aren't popping, the heat isn't high enough, so turn it up.", "Once the popping settles down, add the onion and carrot.", "Sauté for about 10 minutes until the onion is browned and the carrot is slightly softened.", "Add the garlic, ginger, cumin, and red pepper flakes.", "Cook for another 5 minutes, mixing frequently.", "Sprinkle in some water if the vegetables appear dry.", "Once done, cover until ready to use.", "Once the potatoes are tender, drain and return to the pot.", "Mash well.", "Add the canola oil, turmeric, and salt and mash until relatively smooth.", "Stir in the onion mixture and the frozen peas (they will thaw when you mix them in).", "Add the flour and mix well (use your hands to mix at this point; it's just easier).", "Taste for salt.", "Let the mixture cool completely (at least one hour or overnight).", "Roll handfuls of potato mixture into golf ball-size balls.", "Flatten the balls out a bit and roll the sides in your palms into roughly 1/4-inch-wide tire shapes to form cakes.", "Preheat a large, heavy-bottomed skillet over medium heat.", "Add a thin layer of oil, just enough to coat the bottom of the pan, and cook cakes for about 3 to 4 minutes on each side, until golden brown and heated through.", "Do this in several batches to avoid crowding the pan.", "Transfer to absorbent paper (paper towels or a paper bag) and cover with a plate or some tinfoil to keep warm while you make the others.", "Sprinkle with chopped cilantro if you like, and serve." ], "author": null }
- Assistant
{ "data": "IN" }