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": "Tarte à la banane et à la crème", "description": null, "subtitle": null, "ingredients": [ { "section": "For the filling", "ingredients": [ "2 tbsp cold water", "2 tsp unflavored gelatin", "3 large eggs", "30 ml sugar", "125 ml sugar", "1 tsp vanilla", "1 1/2 very ripe banana, pureed", "1 cup 35% cold cream", "1/2 cup chopped walnuts", "1/4 cup chopped maraschino cherries", "1 Graham pie crust (see recipe)", "1 whole maraschino cherries with stems" ] }, { "section": "For the Graham pie crust", "ingredients": [ "1 2/3 cup Graham wafer crumbs", "1/2 cup melted butter", "1/4 cup sugar" ] } ], "instructions": [ "Pour the water into a small bowl and sprinkle with the gelatin. Let stand until the gelatin has swelled.", "In a heatproof bowl set over a saucepan of hot, but not boiling water (the bottom of the bowl should not touch the water), whisk together the eggs and sugar. Heat, whisking constantly, until an instant-read thermometer registers 160°F (71°C). Remove the bowl from the saucepan. Whisk in the gelatin mixture. Using an electric mixer, beat the mixture for about 5 minutes or until cooled and thickened. Beat in the vanilla and banana.", "In a bowl, using an electric mixer (use clean beaters), whip the cream until stiff peaks form. Gently fold 1 cup (250 ml) of the whipped cream into the banana mixture. Fold in 1/4 cup (60 ml) of the nuts and the chopped cherries. Pour the filling into the crust and spread evenly. Cover the top of the pie with the remaining whipped cream. Cover the pie with plastic wrap and refrigerate for at least 6 hours or until the filling is firm.", "At serving time, sprinkle the pie with the remaining walnuts. Garnish with whole cherries.", "In a bowl, combine the crumbs, butter and sugar until moistened. Press the mixture into the bottom and up the sides of a 9-inch (23 cm) deep-dish pie plate with a removable bottom. Bake in a preheated 350°F (180°C) oven for 8 to 10 minutes or until firm. Let cool on a wire rack." ], "author": null }
- Assistantjson
{ "data": "WNA" }