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": "S'MORES COOKIES", "description": "S'mores are a delicious mixture of chocolate, biscuits and marshmallows. Typically, you would toast marshmallows over a fire and\nsandwich them between chocolate biscuits - I LOVE THEM. These cookies combine those beautiful flavours into cookie dough. They are\nsoft, gooey and incredibly moreish.", "subtitle": "S'mores are a delicious mixture of chocolate, biscuits and marshmallows. Typically, you would toast marshmallows over a fire and sandwich them between chocolate biscuits - I LOVE THEM. These cookies combine those beautiful flavours into cookie dough. They are soft, gooey and incredibly moreish.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "300g plain flour", "½ tsp baking powder", "½ tsp bicarbonate of soda", "½ tsp sea salt", "175g unsalted butter", "150g soft light brown sugar", "100g white granulated sugar", "1 egg, plus 1 egg yolk", "1 tsp vanilla extract", "100g biscuits, chopped", "200g chocolate chips or chunks", "50g mini marshmallows" ] } ], "instructions": [ "Mix the plain flour, baking powder, bicarbonate of soda and sea salt together in a bowl and leave to the side.", "In a separate bowl, beat together the butter and both sugars until creamy.", "Add the egg, egg yolk and vanilla extract and beat again, then add the dry ingredients and mix until a cookie dough is formed.", "Finally add the chopped biscuits, chocolate chips or chunks and mini marshmallows and combine until evenly distributed.", "Roll the cookie dough into 15 balls and chill in the freezer for at least 30 minutes, or in the fridge for an hour.", "Meanwhile, preheat the oven to 200°C/180°C fan and line 2-3 baking trays with parchment paper.", "Take your cookies out of the freezer or fridge and put onto the lined trays.", "Bake for 9-10 minutes.", "Once baked, leave the cookies to cool on the trays for about 5 minutes, then carefully transfer to a wire rack to cool fully." ], "author": "" }
- Assistantjson
{ "data": "WNA" }