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": "COCONUT CREAM PANCAKES", "description": "Ky was determined to include a coconut pancake in Brunch Life. I wasn't complaining-I absolutely love coconut cream pie. I love these pancakes, too, but the best part of this entire process was that I got to try nine different variations to get to this point.", "subtitle": null, "ingredients": [ { "section": "Coconut Pancakes", "ingredients": [ "3 cups (750 mL) all-purpose flour", "1½ cups (375 mL) sweetened shredded coconut", "1/4 cup (60 mL) white sugar", "1 tablespoon (15 mL) baking powder", "1½ teaspoons (7 mL) baking soda", "3/4 teaspoon (4 mL) salt", "2½ cups (625 mL) buttermilk", "2 cups (500 mL) full-fat coconut milk", "1 cup (250 mL) condensed milk", "3 large eggs", "5 tablespoons (75 mL) unsalted butter, melted", "1 teaspoon (5 mL) unsalted butter, for the pan" ] }, { "section": "Coconut Custard", "ingredients": [ "1/4 cup (60 mL) coconut milk", "5 large egg yolks", "1/3 cup (75 mL) white sugar", "1/4 cup (60 mL) sweetened shredded coconut" ] }, { "section": "Whipped Cream", "ingredients": [ "2 cups (500 mL) cold whipping (35%) cream", "½ cup (125 mL) icing sugar" ] }, { "section": "For Garnish", "ingredients": [ "Sweetened shredded coconut" ] } ], "instructions": [ "In a large bowl whisk together the flour, shredded coconut, sugar, baking powder, baking soda, and salt.", "In a second bowl whisk together the buttermilk, coconut milk, condensed milk, eggs, and melted butter.", "Add the wet ingredients to the dry ingredients and whisk just until you have a smooth, lump-free batter.", "Melt 1 teaspoon (5 mL) butter in a large non-stick frying pan over medium-high heat.", "Using a 1-cup (250 mL) ladle, pour the batter into the hot pan.", "When the pancake is slightly browned on the bottom and you see small bubbles begin to form on the top, flip it with a large spatula.", "Cook the pancake until the second side is browned.", "Repeat with the remaining batter.", "Stack the finished pancakes on a plate and keep covered with paper towel to retain heat until all the pancakes have been made.", "In a small saucepan, heat the coconut milk to a gentle simmer; keep warm.", "In a heatproof bowl set over (not in) a pan of gently boiling water, whisk the egg yolks until smooth.", "Add the sugar and whisk until dissolved.", "Continue whisking until the custard begins to thicken, about 8 minutes.", "Slowly pour the hot coconut milk into the custard, whisking constantly.", "Again, whisk until the custard thickens, a few minutes more.", "Remove the custard from the heat and gently fold in the shredded coconut.", "Pour the cream and icing sugar into a large bowl.", "Beat the ingredients together for 5 to 6 minutes, or until soft peaks form.", "Be sure to incorporate lots of air and this process will be quicker than you think!", "To assemble, stack the Coconut Pancakes with a dollop of Coconut Custard between each pancake.", "Top with Whipped Cream and a sprinkling of shredded coconut." ], "author": null }
- Assistantjson
{ "data": "WWW" }