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": "Cookie Dough Cupcakes", "description": "When you realise how much I adore cookies, and how much I love cupcakes, you will understand why this recipe is here. Combining\ndifferent bakes is one of my favourite things to do - and when it's these two? HEAVEN! A cupcake stuffed with cookie dough and topped\nwith buttercream flavoured with a brown sugar cookie dough... what more could you ask for?", "subtitle": null, "ingredients": [ { "section": "COOKIE DOUGH", "ingredients": [ "65g unsalted butter or baking spread", "65g soft light brown sugar", "125g plain flour", "Pinch of salt", "25ml full-fat milk", "½ tsp vanilla extract", "100g dark or milk chocolate, finely chopped" ] }, { "section": "CUPCAKES", "ingredients": [ "150g unsalted butter or baking spread", "150g soft light brown sugar", "3 eggs", "150g self-raising flour" ] }, { "section": "DECORATION", "ingredients": [ "150g unsalted butter, at room temperature", "25g soft light brown sugar", "275g icing sugar", "1 tsp vanilla extract", "12 mini cookies, plus a few crushed cookies" ] } ], "instructions": [ "First make the cookie dough.", "Add the butter and soft light brown sugar to a bowl and beat until smooth.", "Add the plain flour and salt and beat again.", "Add the milk, vanilla and chocolate and mix until combined.", "Divide the dough into 12 pieces and roll into balls, then freeze for 30 minutes while you make the cupcakes", "Preheat the oven to 180°C/160°C fan and get 12 cupcake cases ready.", "Beat the butter with the soft light brown sugar until the mixture is light and fluffy.", "Add the eggs and self-raising flour and mix until combined.", "Pop a frozen cookie dough ball into the bottom of each cupcake case, then spoon the mix evenly into the cupcake cases and bake for 20-24 minutes until they are springy to touch.", "Once baked, leave to cool on a wire rack while you make the buttercream.", "Add the butter to a bowl and beat for about 3-4 minutes on its own to loosen it.", "Add the soft light brown sugar, icing sugar and vanilla and beat again for about 5 minutes.", "Pipe or spread the buttercream onto the cupcakes, then add a cookie per cupcake.", "Finish by sprinkling over some crushed cookie crumbs." ], "author": null }
- Assistant
{ "data": "WWW" }