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": "BAKEWELL COOKIE BARS", "description": "Just like my Bakewell Blondies, these are absolutely incredible if, like me, you adore the delicious almond flavour. This bake is slightly more cookie like, and just incredible. Cookie bars are basically cookies, but baked into a traybake, making them an easy bake.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "225g plain flour", "50g ground almonds", "1 tsp bicarbonate of soda", "115g unsalted butter, melted", "55g white granulated sugar", "135g soft light brown sugar", "1 egg", "½ tsp vanilla extract", "1 tsp almond extract", "200g white chocolate chips or chunks", "100g glacé cherries, chopped" ] } ], "instructions": [ "Preheat the oven to 190°C/170°C fan and line a 23cm square tin with parchment paper.", "Whisk the plain flour, ground almonds and bicarbonate of soda together in a bowl so all the ingredients are evenly distributed.", "Add the melted butter and both sugars to another larger bowl and whisk for about 2 minutes so the sugars start to dissolve and the mixture is smooth.", "Add the egg, vanilla extract and almond extract and whisk again briefly until smooth.", "Add the dry ingredients, the chocolate chips and chopped glacé cherries and mix with a spatula until a thick cookie dough is formed.", "Press the mixture into the base of the lined tin.", "Bake for 18-22 minutes, then leave to cool fully in the tin before cutting into 16 bars.", "Enjoy!" ], "author": null }
- Assistantjson
{ "data": "GB" }