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": "MINI EGG NYC COOKIES", "description": "These cookies are without doubt one of the most popular recipes on my blog.\nand I am not even slightly shocked. Stuff a giant cookie with some of the best Easter chocolates that exist, and you are\nonto a winner. However, if you wanted to make these at another time of year, such as Christmas, you could use red and\ngreen coated chocolates instead. These beauties make a wonderful homemade gift; imagine receiving a few of them in a\nbag, wrapped with a cute Easter-themed ribbon!", "subtitle": "Thick, chunky and sweet New-York-style Mini Egg NYC Cookies stuffed with chocolate chips and chocolate mini eggs\n... the be-all and end-all of Easter treats!", "ingredients": [ { "section": "For the recipe", "ingredients": [ "125g unsalted butter, at room temperature", "100g soft light brown sugar", "75g white granulated sugar", "1 egg", "1 tsp vanilla extract", "300g plain flour", "1½ tsp baking powder", "½ tsp bicarbonate of soda", "½ tsp sea salt", "100g milk chocolate chips", "250g sugar-coated chocolate mini eggs, chopped (I use Cadbury Mini Eggs)", "50g sugar-coated chocolate mini eggs, whole" ] } ], "instructions": [ "In a large bowl, cream the butter, brown sugar and white sugar together until smooth.", "Add the egg and vanilla extract and beat again.", "Add the flour, baking powder, bicarbonate of soda and sea salt and beat until a dough is formed.", "Add the chocolate chips and chopped mini eggs and mix until well distributed.", "Portion the dough out into 8 balls (each should weigh about 120g) and lay out onto a flat tray that fits into your freezer.", "Once rolled into balls, add a few whole mini eggs to each cookie.", "Put the balls into the freezer for at least 30 minutes, or in the fridge to chill for an hour or so.", "Meanwhile, preheat the oven to 200°C/180°C fan and line two baking trays with parchment paper.", "Remove the balls from the freezer or fridge and transfer them to the lined baking trays (I do four cookies per tray).", "Bake in the oven for 12-14 minutes.", "Leave to cool on the trays for at least 30 minutes as they will continue to bake while cooling." ], "author": null }
- Assistantjson
{ "data": "US" }