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é.
code1. 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": "Poblanos Stuffed with Coriander Seeds and Mushrooms", "description": "Poblanos roast differently than regular green peppers. They're more tender and have a little kick, plus their ballet slipper shape is just a little more fun. Cremini mushrooms provide a juicy filling and a handful of shiitakes lend some meatiness. Serve with Peruvian Home Fries (page 118), Fried Plantains (page 151), and Guacamole (page 221).", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 tablespoons olive oil", "6 garlic cloves, minced.", "2 Serrano peppers, thinly sliced (remove seeds if you want less heat)", "1 tablespoon coriander seeds, crushed", "1 pound cremini mushrooms, sliced", "1/4 pound shiitake mushrooms, sliced", "2 teaspoons dried oregano", "1/4 teaspoon salt, plus more to taste", "Several dashes fresh black pepper", "1 cup cherry tomatoes, sliced in half", "1 tablespoon fresh lime juice", "4 poblano peppers", "Fresh cilantro for garnish (optional)" ] } ], "instructions": [ "Preheat a large, heavy-bottomed skillet over medium-low heat.", "Sauté the garlic, peppers, and coriander seeds in oil for about 5 minutes to soften the seeds.", "Stir frequently to avoid burning the garlic.", "Turn the heat up to medium, add the mushrooms, oregano, salt, and pepper, and sauté for about 7 minutes, until mushrooms are softened.", "Preheat the oven to 350°F.", "Lightly grease a rimmed baking sheet.", "While the mushrooms are cooking, prepare the poblanos.", "Slice them in half lengthwise, leaving the stem intact.", "Remove the seeds and use a paring knife to remove as much of the membrane as you can.", "Now, return to the mushrooms.", "Once softened, add the cherry tomatoes and sauté for 5 minutes more.", "Add the lime juice and taste for salt.", "Spoon the mushroom mixture into the poblanos, nudging it into the crevices.", "Place the peppers on a baking sheet.", "If a pepper is tilting over to one side, stick a toothpick through the side to give it "legs" for balance.", "Bake for 30 to 35 minutes.", "When ready, the peppers should appear darker and crinkly.", "Top with chopped fresh cilantro if desired, and serve." ], "author": null }
- Assistantjson
{ "data": "MX" }