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": "Caramelized Vidalia Onion Quiche", "description": "Sometimes the simplest ingredients make the best-tasting food. With this rich quiche, it's all about the method. Caramelizing the onions gives them such lip-smacking depth that adding anything else would just take away from the flavor. Serve with a salad for a simple and classy meal.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 tablespoons olive oil", "3 to 4 Vidalia onions, diced medium (about 3 pounds; you can also use Walla Walla or another sweet onion)", "3/4 cup raw, unsalted cashews", "1 teaspoon salt", "1/4 teaspoon ground nutmeg", "1 pound extra-firm tofu", "1 nine-inch pie crust, store-bought or homemade (see Basic Pastry Crust, page 47)" ] } ], "instructions": [ "Preheat the oven to 350°F.", "If using a homemade crust, roll the dough out into a 9-inch pie plate.", "Poke the bottom of the dough with a fork about five times to prevent it from puffing up, then bake for 10 minutes and remove from oven.", "In the meantime, start preparing the filling.", "Preheat a heavy-bottomed skillet, preferably cast iron, over low heat.", "Add the oil and the onions and toss the onions to coat.", "Cover and cook for 20 minutes, leaving a little gap for steam to escape.", "Stir occasionally, every 5 minutes or so.", "Onions should turn a nice, mellow amber color, but not burn, although a couple of darker spots are fine.", "Remove the lid and turn up the heat just a bit, to a medium setting.", "Stir often for 10 more minutes.", "Onions should become darker in color, and some of the moisture should evaporate.", "Meanwhile, process the cashews in a food processor into fine crumbs.", "Add the salt and nutmeg.", "Give the tofu a squeeze to get rid of some of the water, then crumble it into the food processor.", "Process until relatively smooth.", "If it seems to be too thick and not pureeing, add a tablespoon of water or two.", "When the caramelized onions are done cooking, add a ½ cup of them to the food processor and pulse a few times to combine.", "Transfer cashew mixture to a mixing bowl and mix in the rest of the onions.", "Taste for salt.", "Use a rubber spatula to get everything into the pie crust and smooth the top out.", "Bake for 40 minutes, until edges of the pie are lightly browned.", "I suggest letting the quiche sit for 20 minutes before you dig in.", "I think it tastes best when it is moderately warm, rather than piping hot.", "It's also great at room temperature." ], "author": null }
- Assistantjson
{ "data": "WNA" }