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": "BROWNIE CUPCAKES", "description": "Think fudgy, think chocolatey, think one of the most indulgent cupcakes you will ever bake and you get these bad boys. They are the combination of all delicious things... even if you don't like chocolate I am confident that these will change your mind. The cupcakes themselves are made up of a lovely fudge brownie mixture, topped with a luscious chocolate frosting and even more chocolate on top. YUM.", "subtitle": "Think fudgy, think chocolatey, think one of the most indulgent cupcakes you will ever bake and you get these bad boys.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "100g unsalted butter or baking spread", "100g dark chocolate", "2 eggs", "150g soft light brown sugar", "50g plain flour", "25g cocoa powder", "75g dark chocolate chips", "75g milk chocolate chips" ] }, { "section": "FROSTING", "ingredients": [ "125g unsalted butter, at room temperature", "250g icing sugar", "25g cocoa powder", "50ml evaporated milk or double cream" ] }, { "section": "DECORATION", "ingredients": [ "50g chocolate chips or chocolate curls" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and get 12 cupcake cases ready.", "Melt together the butter and dark chocolate in a heatproof bowl set over a pan of just simmering water, or in the microwave for 1-2 minutes.", "Leave to cool to room temperature.", "Using an electric whisk/stand mixer, whisk together the eggs and soft light brown sugar for a few minutes until the colour has turned pale and the mixture leaves a trail for a couple of seconds.", "Pour the cooled chocolate over the eggs and fold together carefully.", "Once combined, tip the plain flour and cocoa powder into the bowl and then gently fold together.", "Finally, fold through the chocolate chips.", "Spoon the mixture evenly into the cupcake cases and bake for 20-22 minutes until they are baked through and springy to touch.", "Leave to cool on a wire rack while you make the frosting.", "In a bowl, beat the butter on its own for a few minutes to loosen it.", "Add the icing sugar and cocoa powder in two batches, beating well after each addition.", "Pour in the evaporated milk or double cream, a little at a time, mixing as you go until fully combined.", "Once the cupcakes have cooled, pipe or spread the frosting onto the cupcakes.", "Top with some more chocolate chips or chocolate curls for decoration." ], "author": "" }
- Assistantjson
{ "data": "WWW" }