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": "Melting Moments", "description": "You can argue about the merits of a classic Melting Moment, as they often come in various forms - but for me, it's these deliciously buttery cookies that win, sandwiched together with an unbelievably light and sweet buttercream. These magically melt in the mouth because of the cornflour and icing sugar - both ingredients that give the perfect texture that I love. The dough is easy to roll and I enjoy lightly pressing each cookie down with a fork to get the classic shape. You can then bake, cool and fill, and most importantly, devour every single morsel.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "200g unsalted butter, at room temperature", "100g icing sugar", "1 tsp vanilla extract", "235g plain flour", "25g comflour" ] }, { "section": "Filling", "ingredients": [ "100g unsalted butter, at room temperature", "200g icing sugar", "1 tsp vanilla extract" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and line two large baking trays with parchment paper.", "In a large bowl, cream the butter and icing sugar together until smooth. Add the vanilla extract, plain flour and cornflour and beat to combine.", "Portion the dough out into 30 balls and put them onto the lined baking trays. Squash each cookie ball slightly with a fork to flatten to about half their current height. Bake in the oven for 15 minutes, or until lightly golden. Leave to cool on the trays for 10 minutes, and then transfer to a wire rack to cool fully.", "Filling", "In a large bowl, beat the butter for 5 minutes until smooth. Add the icing sugar and vanilla extract and beat again for another 5 minutes until light and fluffy. Transfer the filling mixture to a piping bag and with the piping nozzle of your choice fitted, pipe some buttercream onto 15 of the cookies. Sandwich the cookies together with the remaining 15 cookies." ], "author": null }
- Assistant
{ "data": "WWW" }