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é.
1. 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": "Dark Cherry Cheesecake Pancakes", "description": "I haven't always been a fan of cheesecake, but after trying dozens of varieties over the years, my feelings have changed. Originally, all I could\ntaste was that over-processed cheese filling, but then one year my mom started making them from scratch using raspberries and cherries from\nour family's garden. The punch of tasty fresh fruit cut through the over-saturated cheese filling. Now we are at a point where Ky and I have a hard\ntime saying no to dessert, especially if the words cheese or cake or cheesecake are involved. Pancakes make for an unexpectedly fantastic\ncheesecake vessel because you can layer all those delicious components. The layers allow for the perfect ratio of cream cheese icing to fruit\nfilling-and of course pancake-in every bite.", "subtitle": null, "ingredients": [ { "section": "Dark Cherry Sauce", "ingredients": [ "1 cup (250 mL) water, divided", "3 cups (750 mL) frozen pitted black cherries", "1/4 cup (60 mL) pure maple syrup", "1 tablespoon (15 mL) white sugar", "1 tablespoon (15 mL) potato starch" ] }, { "section": "Cream Cheese Icing", "ingredients": [ "1 pound (500 g) cream cheese, at room temperature", "2 tablespoons (30 mL) 2% or whole milk", "1 teaspoon (5 mL) pure vanilla extract", "2 cups (500 mL) icing sugar, sifted", "6 mint leaves" ] }, { "section": "For Serving", "ingredients": [ "1 batch OG Buttermilk Pancakes (this page)", "1/2 cup (125 mL) graham cracker crumbs", "3 tablespoons (45 mL) finely chopped fresh mint" ] } ], "instructions": [ "Bring 1/2 cup (125 mL) water to a boil in a medium saucepan.", "Add the cherries and cook until they begin to break down, about 15 minutes.", "Turn the heat down to medium, add another 1/4 cup (60 mL) water, and use the back of a wooden spoon to break the cherries down further.", "Add the maple syrup, sugar, potato starch, and the remaining 1/4 cup (60 mL) water and stir to dissolve the sugar and incorporate the potato starch.", "Turn the heat down to low and simmer until the sauce is reduced by one-quarter, about 10 minutes.", "Remove from the heat and allow to cool slightly.", "In a food processor combine the cream cheese, milk, and vanilla and blend until creamy.", "Add the icing sugar and blend until smooth.", "Transfer the Cream Cheese Icing to a bowl and tear the mint leaves over the mixture.", "Fold the mint into the icing and set it aside.", "To assemble, place a pancake on each plate and top with a layer of Cream Cheese Icing.", "Dust the Cream Cheese Icing with graham cracker crumbs and top with 1 tablespoon (15 mL) Dark Cherry Sauce.", "Add another pancake and repeat layering icing, graham cracker crumbs, and sauce.", "Repeat until you have a stack of 3 pancakes.", "Garnish with a sprinkle of fresh mint." ], "author": null }
- Assistant
{ "data": "WNA" }