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": "Remi's famous pie for the heart", "description": "Remy is a unique character who doesn't only love food but has a distinct gift. Remy as a character has redefined the\nchef's world and has made us all wonder what the secret behind those beautiful lemon pies is. What if I told you, it's\ntime to unfold that beautiful unspoken secret? This is a satisfying lemon pie, and one can swear on its rich flavors and\nsatisfying taste.", "subtitle": null, "ingredients": [ { "section": "For the pie crust", "ingredients": [ "2 and 1/2 cups all-purpose flour", "1 teaspoon salt.", "1/2 cup ice water", "3/4 cup chilled vegetable shortening" ] }, { "section": "The ready pie crust", "ingredients": [ "5 large egg yolks.", "1 and 1/3 cup water", "1/4 teaspoon salt", "1/2 cup lemon juice", "1 tablespoon lemon zest", "6 tablespoons chilled unsalted butter", "2 tablespoons room temperature unsalted butter" ] }, { "section": "For the Meringue", "ingredients": [ "5 large egg whites", "1/2 tablespoon cream of tartar", "1/2 cup granulated sugar", "1/8 teaspoon salt" ] } ], "instructions": [ "In a bowl, mix salt and flour together, and then add butter and shortening. Mix it well.", "Add 1/2 cup of water and ice in a bowl and stir it. Use it to knead your dough.", "After the dough is ready, divide the dough into two halves, and wrap them in plastic. Refrigerate it for 2 hours.", "Preheat the oven to 375 F (190C) and bake your crust partially.", "Reduce the oven heat to 350 F (177C).", "In a separate bowl, add the egg yolks. Mix them well.", "In a saucepan, mix water, sugar, cornstarch, lemon zest, and lemon juice, on medium heat. Once the mixture starts\nthickening, give it a nice whisk and reduce the heat to low.", "Slowly mix the warm lemon mixture in the egg yolks kept aside.", "Turn the heat to medium, and let the mixture cook until it's thick and you can see the bubbles on the surface.", "Once it's cooked, you can remove the pan aside, and add butter to it.", "Now, pour the beautiful filling in the previous half baked crust", "Keep the crust and filling aside for a while, but don't let it cool down completely.", "With the help of an electronic mixer, beat the egg whites and cream of tartar together, until it is soft and fluffy.", "Add sugar and salt and give it a good mix.", "Now, you can pour the meringue on top of your filling.", "Bake the pie for 20-25 minutes." ], "author": null }
- Assistant
{ "data": "WNA" }