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": "MINI CHOCOLATE LOAF CAKES", "description": "If you have followed my blog for a while you will know that I can't get enough of loaf cakes. Perhaps it's because they are simple to bake, easy to slice and store and always taste great. Baking them in miniature form just means I can eat more! These mini loaf cake cases are a cute size and are easy to find in most supermarkets. The chocolate sponge recipe couldn't be simpler, but topped with chocolate buttercream frosting and some chocolates these loaf cakes become something quite special. Honestly, take them to a party and you'll be everyone's friend!", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "225g unsalted butter, at room temperature", "225g soft light brown sugar", "175g self-raising flour", "50g cocoa powder", "4 eggs", "½ tsp vanilla extract" ] }, { "section": "Buttercream", "ingredients": [ "200g unsalted butter, at room temperature", "350g icing sugar", "50g cocoa powder", "½ tsp vanilla extract" ] }, { "section": "Decoration", "ingredients": [ "Sprinkles", "Chocolate sweets" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and get 12 mini loaf cake cases ready.", "In a large bowl, beat the butter and sugar together until light and fluffy.", "Add the flour, cocoa powder, eggs and vanilla extract and beat until the mixture is smooth.", "Divide the mixture equally between the 12 mini loaf cake cases.", "Bake in the oven for 20-22 minutes.", "Remove and cool fully on a wire rack.", "Buttercream", "In a large bowl, beat the butter for a few minutes to loosen it.", "Add the icing sugar, cocoa powder and vanilla extract and beat again until combined.", "If the mixture is still a little thick after beating for about 5 minutes, add 1 tablespoon of boiling water to the mixture, beating well to create a smooth texture.", "Decoration", "Transfer the buttercream to a piping bag with a piping nozzle of your choice fitted and pipe over the cakes - I do swirly lines along the loaf cakes.", "Scatter over some sprinkles and some chocolate sweets." ], "author": null }
- Assistant
{ "data": "WWW" }