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": "EXPLODING CUPCAKES", "description": "I always want to bake something fun during bonfire season, because all I can think of is fireworks! The colours, the\nexplosions and all things autumnal - these cupcakes 100% represent that. A delightfully cinnamon-hinted chocolate\ncupcake stuffed with bright sprinkles for an explosion', frosted with scrumptious buttercream and even more exploding\nfun on top. I love the super-bright purple frosting, but you can use any colour and any sprinkles you like. Go silver and\ngold for New Year's Eve perhaps? Or even red and pink for Valentine's Day.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "150g unsalted butter or baking spread, at\nroom temperature", "150g soft light brown sugar", "125g self-raising flour", "25g cocoa powder", "3 eggs", "½ tsp ground cinnamon", "100g sprinkles" ] }, { "section": "Buttercream", "ingredients": [ "150g unsalted butter, at room\ntemperature", "350g icing sugar", "½ tsp vanilla extract", "Food colouring of your choice (I use\npurple)" ] }, { "section": "Decoration", "ingredients": [ "Sprinkles", "Popping candy", "Mini sparklers" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and get 12 cupcake cases ready.", "In a large bowl, cream the butter and sugar together until light and fluffy.", "Add the\nflour, cocoa powder, eggs and cinnamon to the bowl and beat until the mixture is\nsmooth.", "Divide the mixture equally between the 12 cupcake cases.", "Transfer the cupcakes to the\noven and bake for 18-22 minutes.", "Leave to cool fully on a wire rack.", "Core out the cupcakes and fill each hole with 1-2 teaspoons of sprinkles.", "Buttercream", "In a large bowl, beat the butter for a few minutes to loosen it.", "Gradually beat in the\nicing sugar until well combined, then add the vanilla extract and beat again.", "Add your\nchosen food colouring to the mixture and stir well until your desired colour is\nachieved.", "Decoration", "Transfer the buttercream to a piping bag with the piping nozzle of your choice fitted\nand pipe over the cupcakes however you like.", "Add some more sprinkles and popping\ncandy to the top of each cupcake and serve with a lit mini sparkler stuck in for extra\noomph!" ], "author": null }
- Assistant
{ "data": "WWW" }