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": "Funfetti Cake", "description": "When I see a cake like this, all I can think of is birthdays and parties. Funfetti, if you don't already know, is basically vanilla and sprinkles combined. I love making a cake like this because it always looks so fun and kids go mad for it (although I made one of these for my adult friend's birthday and even she adored it!). Super-bright sprinkles give the best results - the standard supermarket brands can seem a little dull after baking, so try and source good-quality sprinkles if you can. Just look at this cake! It is delicious, super-easy to make and you could go wild with the decoration depending on the theme of your celebration.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "400g unsalted butter, at room temperature", "400g caster sugar", "400g self-raising flour", "8 eggs", "1 tsp vanilla extract", "100-120g funfetti sprinkles (supermarket sprinkles won't hold their colour as well when baked, I use good-quality sprinkles from specialist cake decorating suppliers)" ] }, { "section": "Buttercream/Decoration", "ingredients": [ "300g unsalted butter, at room temperature", "600g icing sugar", "1 tsp vanilla extract", "Funfetti sprinkles" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and line three 20cm springform cake tins with parchment paper.", "In a large bowl, cream the butter and sugar together until light and fluffy.", "Add the flour, eggs and vanilla extract to the mix, and beat again until smooth.", "Add the funfetti sprinkles and fold through with a spatula.", "Divide the mixture evenly between the three tins and bake in the oven for 30-35 minutes, or until a cocktail stick or skewer inserted into the middle of the cakes comes out clean.", "Leave to cool in the tins for 10-15 minutes, then turn out onto a wire rack to cool fully.", "In a large bowl, beat the butter for a couple of minutes to loosen it and make it lighter.", "Add the icing sugar a little at a time and mix well to combine.", "Add the vanilla extract and beat again. If the mixture feels really stiff, add 1-2 tablespoons of boiling water.", "Transfer the mixture to a piping bag with a jumbo round piping tip fitted.", "Pipe buttercream onto one of the sponge layers, stack the second sponge layer on top and repeat.", "Finally, add the third sponge layer and pipe over the remaining buttercream.", "Scatter funfetti sprinkles over the cake and enjoy!" ], "author": null }
- Assistant
{ "data": "WNA" }