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": "BLUEBERRY LIME LOAF CAKE", "description": "When you bake with fruit, you often get beautiful colours dotted throughout the bakes. Combining berry and citrus flavours is always\ndelicious too... lemon and raspberry, blackberry and lemon, or as in this cake, blueberry and lime. I adore it. Baking with blueberries\nalways brings out their flavour and creates a delicious texture, and when topped with a simple buttercream frosting it's even better.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "200g unsalted butter", "200g caster sugar", "200g self-raising flour, plus 1 tbsp for dusting", "4 eggs", "Zest of 1 lime", "200g fresh frozen blueberries" ] }, { "section": "BUTTERCREAM", "ingredients": [ "125g unsalted butter, at room temperature", "250g icing sugar", "Juice of 1 lime" ] }, { "section": "DECORATION", "ingredients": [ "100g blueberries", "Lime zest" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and grease and line a 900g loaf tin with parchment paper.", "Put the butter and caster sugar into a bowl and beat until light and fluffy.", "Add the self-raising flour, eggs and lime zest to the bowl, and mix again until combined.", "Put the tablespoon of plain flour into a bowl and add the blueberries, mixing until they are coated (this stops the blueberries all sinking to the bottom of the cake).", "Fold the blueberries through the cake mixture, then pour into the prepared tin and bake for 50-55 minutes, or until baked through.", "Remove the cake from the oven, and leave to cool fully in the tin while you make the buttercream.", "Add the butter to a bowl and beat on its own for a few minutes to loosen and soften.", "Add the icing sugar and beat again until combined.", "Finally, add the lime juice and beat again.", "Pipe or spread the buttercream onto the loaf cake, then sprinkle over the blueberries and lime zest." ], "author": null }
- Assistant
{ "data": "WWW" }