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": "Blackberry and Lemon Pancakes", "description": "It's amazing how a little bit of fresh lemon juice and zest really shines in OG Buttermilk Pancake batter. Not all brunch dishes should make you want to go back to sleep, and there's something about fresh lemon that lightens up a dish. Layering pancakes not only is a great opportunity to showcase something beautiful but it makes it easier to combine contrasting flavours and colours such as the tartness of lemon and the sweetness of this berry jam. And if jam isn't your jam and you just want lemon pancakes, go for it!", "subtitle": null, "ingredients": [ { "section": "Blackberry Jam", "ingredients": [ "1½ cup (125 mL) water", "4 teaspoons (18 mL) white sugar", "1 teaspoon (5 mL) pure maple syrup", "18 ounces (500 g) blackberries (about 3½ cups/875 mL)" ] }, { "section": "Lemon Pancakes", "ingredients": [ "1 batch OG Buttermilk Pancake batter (this page)", "Grated zest of 3 lemons", "Juice of 1½ lemons" ] }, { "section": "For Serving", "ingredients": [ "2 tablespoons (30 mL) icing sugar" ] } ], "instructions": [ "WE BE JAMMING", "Bring the water to a boil in a medium saucepan.", "Add the sugar, maple syrup, and blackberries.", "Stir well to dissolve the sugar, then turn the heat down to medium-low and cook for 10 minutes.", "The sugars in the jam will thicken as the liquid reduces, leaving you with a gorgeous dark purple berry jam.", "BATTER'S UP", "Make the OG Buttermilk Pancake batter, adding the lemon juice to the wet ingredients, and folding in the lemon zest at the end.", "Cook as directed.", "TIME TO STACK", "To assemble, place 3 Lemon Pancakes on each plate and top with some Blackberry Jam.", "Sift the icing sugar over the top for a snowy effect." ], "author": null }
- Assistantjson
{ "data": "WWW" }