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": "Millionaire's Fudge", "description": "When thinking about millionaire's shortbread you think of caramel, biscuit and chocolate... so why can't this translate into a fudge as\nwell? A deliciously smooth, white-chocolate-based caramel fudge dotted with biscuit, coated in a smooth and luscious milk chocolate!", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "350g condensed milk", "275g soft light brown sugar", "175g unsalted butter", "3 tbsp golden syrup", "1 tsp vanilla extract", "300g white chocolate, chopped", "200g digestive biscuits, chopped" ] }, { "section": "TOPPING", "ingredients": [ "200g milk chocolate, melted" ] } ], "instructions": [ "Line a 23cm square tin or a 18 x 25cm rectangular tin with parchment paper.", "Add the condensed milk, soft light brown sugar, butter and golden syrup to a large pan and melt over a low heat, stirring constantly, until the sugar dissolves and all of the ingredients combine.", "Turn up the heat and let the mixture simmer, while still stirring, until the mixture has visibly thickened. You can test the temperature if you have a thermometer - it should have reached 110°C. Once thickened, take the pan off the heat and add the vanilla extract and white chocolate.", "Stir the chocolate into the fudge mixture until it has melted and the mixture is smooth.", "Pour in the chopped digestive biscuits and stir again.", "Pour into the tin and smooth over the mixture.", "Chill in the fridge to set for at least 3-4 hours, or overnight.", "Once set, remove from the tin and cut into 40 squares, then coat each square in melted milk chocolate, and place onto a lined tray.", "Return to the fridge for another couple of hours to finish setting." ], "author": null }
- Assistant
{ "data": "GB" }