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": "SALTED CARAMEL & CHOCOLATE CUPCAKES", "description": "I love chocolate. And I love salted caramel. This cupcake has them combined in one bite. The sponges are light and the hidden salted caramel centre is smooth and always a nice surprise, while also topped with salted caramel buttercream frosting. Can you get anything any more delicious?!", "subtitle": null, "ingredients": [ { "section": "CUPCAKES", "ingredients": [ "150g unsalted butter or baking spread", "150g soft light brown sugar", "3 eggs", "125g self-raising flour", "25g cocoa powder" ] }, { "section": "SALTED CARAMEL SAUCE", "ingredients": [ "250g ready-made caramel", "½ tsp sea salt" ] }, { "section": "SALTED CARAMEL BUTTERCREAM", "ingredients": [ "125g unsalted butter, at room temperature", "250g icing sugar", "125g salted caramel sauce (see above)" ] }, { "section": "DECORATION", "ingredients": [ "Salted caramel sauce", "Grated chocolate", "Sprinkles" ] }, { "section": "MAKE YOUR OWN CARAMEL", "ingredients": [ "250g white granulated sugar", "75ml water", "200ml double cream", "60g unsalted butter", "1 tsp vanilla extract", "½ tsp sea salt" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and get 12 cupcake cases ready.", "Cream together the butter and soft light brown sugar until light, fluffy and smooth.", "Add the eggs, self-raising flour and cocoa powder and beat again until smooth.", "Spoon the mix evenly into the cupcake cases and bake for 18-22 minutes, or until cooked through.", "Leave to cool on a wire rack while you make the salted caramel sauce.", "Mix the ready-made caramel with some sea salt - add the salt gradually and taste as you go! (Alternatively, you can use a ready-made salted caramel sauce.)", "Core out a small amount of cake from each cupcake and add a heaped teaspoon of salted caramel per cupcake.", "Beat the butter until smooth - this can take a couple of minutes.", "Add the icing sugar in two batches, making sure the sugar is fully incorporated each time.", "Once all of the sugar is in the mix and it's smooth, add the salted caramel (set a little aside to drizzle over your cupcakes) and beat until smooth.", "Pipe the buttercream onto the cupcakes, then drizzle over the leftover caramel sauce.", "Add some sprinkles and some grated chocolate if you fancy!" ], "author": null }
- Assistantjson
{ "data": "WWW" }