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": "Cinnamon Rolls", "description": "Is there anything better than coming out of the\ncold into a warm kitchen and inhaling a blast of\ncinnamon air? Don't answer that, because there\nsimply isn't. If you want to be loved, bake cinnamon\nrolls. It takes a little time and patience but guess what?\nThe payoff is... cinnamon rolls!", "subtitle": null, "ingredients": [ { "section": "For the dough", "ingredients": [ "1 packet active dry yeast\n(2½ teaspoons)", "1/3 cup sugar, plus 1 teaspoon", "1/2 cup lukewarm water", "3/4 cup milk, at room temperature", "1/3 cup canola oil", "¾/4 teaspoon salt", "1 teaspoon ground cinnamon", "32 to 4 cups flour" ] }, { "section": "For the filling", "ingredients": [ "1/4 cup brown sugar", "1/4 cup regular sugar", "1 tablespoon ground cinnamon", "2 tablespoons flour" ] }, { "section": "To roll", "ingredients": [ "1/4 cup nonhydrogenated\nmargarine" ] }, { "section": "For the icing", "ingredients": [ "1 cup powdered sugar", "1/2 to 2 tablespoons almond milk\n(or your favorite nondairy\nmilk)", "1 teaspoon pure vanilla extract" ] } ], "instructions": [ "In a large mixing bowl, dissolve the yeast and 1 teaspoon sugar in the water. Let sit for a few minutes.", "Add the rest of the sugar, milk, oil, salt, cinnamon, and 2 cups of flour. Stir for about a minute.", "Add flour by the ½ cupfuls until you have added about 3½ cups.", "Knead to form a soft dough; if it's sticky then add flour until it is no longer sticky.", "Lightly flour a clean, flat surface and knead dough for 5 minutes, or until nice and smooth.", "Place in a greased bowl (about 2 teaspoons canola oil should do it), turn to coat, cover with a towel or plastic wrap and let rise in a warmish place until doubled in size, about an hour.", "Once dough has risen, punch it down and let it rest for about 10 minutes.", "In the meantime, prepare the filling by mixing all the ingredients together.", "Lightly flour a work surface again and stretch and roll the dough out into a rectangle that's about 12 by 18 inches.", "Sprinkle the filling evenly over the surface of the dough and dot with the margarine. Just break the margarine into small pieces with your fingers; it doesn't have to be too precise.", "Firmly roll up from the long side. Go as slow as you need to get it as tight as you can. Use a little water to pinch the seam together to seal.", "Lightly spray an 11 x 13-inch rimmed baking pan.", "Slice dough into twelve even pieces. Sometimes if my ends are too sloppy to deal with, I slice off about an inch and scrap it so that I have more even pieces.", "An easy way to make twelve slices is to first cut into quarters and then cut each quarter into thirds.", "Place in a baking pan cut side down; they'll be pretty snug. You might lose some of the sugar mixture, but don't sweat it.", "Cover with a towel and let rise for 30 to 45 minutes; the rolls should look not quite doubled in size.", "Preheat the oven to 375°F. Bake for 18 to 22 minutes; when ready they should look lightly browned and puffy.", "Remove from the oven.", "Prepare the icing by mixing all the ingredients together with a fork in a small mixing bowl.", "Use 1½ tablespoons of liquid at first, adding another 2 tablespoon if needed.", "Drizzle the icing over the warm cinnamon buns and serve as soon as you can!" ], "author": null }
- Assistantjson
{ "data": "WWW" }