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": "CARROT WALNUT LOAF", "description": "I'm not lying when I say that I think carrot cake is always a winner - there is just something about its savoury sweetness.\nThis cake absolutely levels up the loaf cake game, with the addition of loads of toasted walnuts folded through the sponge\nmixture, topped with a spiced soft cheese frosting and sprinkled with even more toasted walnuts. If you don't like\nwalnuts, you could use pecans, but don't leave out the nuts! They make this beautifully nutty carrot loaf taste UNREAL\nand you will love every mouthful.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "400g walnuts", "175ml sunflower oil/vegetable oil, plus extra for greasing", "4 eggs", "200g soft light brown sugar", "250g carrots, grated", "200g self-raising flour", "1 tsp bicarbonate of soda", "2 tsp mixed spice" ] }, { "section": "Frosting", "ingredients": [ "125g unsalted butter, at room temperature", "125g icing sugar", "1 tsp vanilla extract", "½ tsp mixed spice", "250g full-fat soft cheese" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and line a large baking tray with parchment paper.", "Scatter the walnuts over the lined tray and bake in the oven for 8-10 minutes, or until they have turned golden.", "Leave to cool fully on the tray.", "Reserve 150g of the toasted walnuts in a bowl and very finely chop the remaining walnuts and leave to one side.", "Keep the oven at 180°C/160°C fan.", "Grease and line a 900g loaf tin.", "In a large bowl, pour the oil and add the eggs and soft light brown sugar.", "Lightly mix to combine.", "Add the grated carrots and the reserved finely chopped walnuts and fold through to combine.", "Add the flour, bicarbonate of soda and mixed spice and stir again, being careful not to overmix.", "Transfer the mixture to the loaf tin and bake in the oven for 55-60 minutes.", "Oven temperatures vary, so it can take a little longer.", "Use a cocktail stick or skewer inserted in the middle of the cake and if it comes out clean, the cake is ready.", "Leave to cool in the tin for 10 minutes, then turn out onto a wire rack to cool fully.", "Frosting", "In a large bowl, beat the butter for a few minutes to loosen it.", "Beat in the icing sugar for about 5 minutes until really smooth.", "Add the vanilla extract and mixed spice and briefly mix again to combine.", "Take the soft cheese and drain off any excess water - I find it best to add the cheese to a bowl first, just to make sure.", "Add the soft cheese to the butter mixture and beat well.", "At first, it may look a little weird, but continue to beat until the lumps disappear and the frosting is smooth and thick.", "Slather the spiced soft cheese frosting over the top of the cake and decorate with the reserved toasted nuts." ], "author": null }
- Assistant
{ "data": "WWW" }