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": "LEMON DRIZZLE LOAF CAKE", "description": "I love a classic bake and I am pretty sure my Lemon Drizzle Loaf Cake is the ultimate in its field. It happens to be one of my mum's favourite things to order when she's at a coffee shop and this is my go-to when I want to bake something to brighten her day. I always think gifting something edible, especially if it is homemade, is one of the best presents you can give and this bake is ideal for that. I can't get enough of the lemon icing drizzled over the top, but you can easily substitute it for a lovely lemon-flavoured buttercream or even a soft cheese frosting. Why not combine some yummy flavours and make a lemon-lime drizzle cake?", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "250g unsalted butter, at room temperature, plus extra for greasing", "250g caster sugar", "250g self-raising flour", "5 eggs", "Zest of 2 lemons" ] }, { "section": "Drizzle", "ingredients": [ "75ml lemon juice", "75g caster sugar" ] }, { "section": "Decoration", "ingredients": [ "50g icing sugar", "1-2 tsp lemon juice", "Lemon zest" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and grease and line a 900g loaf tin with parchment paper.", "In a large bowl, cream the butter and sugar together until light and fluffy.", "Add the flour, eggs and lemon zest and beat again until well combined and smooth.", "Transfer the mixture to the loaf tin and bake for 55-65 minutes, but check from 50 minutes onwards as oven temperatures differ. The cake is ready when a cocktail stick or skewer inserted into the middle comes out clean.", "Drizzle", "Towards the end of the baking time, put the lemon juice and sugar in a small bowl and mix well.", "Carefully drizzle the lemon and sugar mixture over the warm cake, while still in its tin.", "Let the cake cool fully before removing from the tin.", "Decoration", "Put the icing sugar in a small bowl and gradually add the lemon juice until you reach your desired consistency - the less lemon you add, the thicker the icing.", "Drizzle over the cake and finally sprinkle over some lemon zest for decoration." ], "author": null }
- Assistant
{ "data": "GB" }