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é.
code1. 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 SHORTBREAD", "description": "Caramel squares, millionaire's shortbread, homemade Twix bar... whatever you call these they are one of my favourite things on the planet. What's not to love about a homemade shortbread base, dreamy caramel and a chocolate topping? The shortbread has only three ingredients and is so simple. Making your own caramel can be daunting, but is so worth it as it will set perfectly and has the best texture.", "subtitle": null, "ingredients": [ { "section": "SHORTBREAD", "ingredients": [ "100g caster sugar", "200g unsalted butter", "275g plain flour" ] }, { "section": "CARAMEL", "ingredients": [ "200g unsalted butter", "3 tbsp caster sugar", "4 tbsp golden syrup", "395g condensed milk" ] }, { "section": "DECORATION", "ingredients": [ "200g milk chocolate", "100g white chocolate" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and line a deep, 23cm square tin with parchment paper.", "First make the shortbread.", "Cream together the sugar and butter in a stand mixer with the paddle attachment until smooth.", "Mix in the flour until a dough is formed.", "It will be crumbly but the ingredients will be evenly dispersed.", "Firmly press the mixture into the base of the lined tin and bake for 20-25 minutes until pale golden on top.", "Once baked, remove from the oven and set aside.", "Put all the caramel ingredients into a large pan and melt over a medium heat until the sugar has dissolved.", "Stir frequently to stop it catching.", "Once the sugar has dissolved, turn the heat up to high, let the mixture come to the boil and boil for 5-7 minutes, stirring constantly so that the mixture does not catch on the bottom of the pan.", "BE CAREFUL as the mixture is VERY hot and can burn you if it splashes back.", "The mixture will be ready when it has changed to a slightly darker golden colour, and has thickened to a soft fudge texture.", "Pour the caramel onto the shortbread base and leave to set for 1 hour in the fridge.", "Once set, melt the chocolate for the topping.", "I add each chocolate to a separate heatproof bowl and melt in the microwave but you can also melt over a pan of simmering water (bain-marie).", "Pour the milk chocolate over the chilled caramel in an even layer, then pour the white chocolate in small amounts over the milk chocolate and swirl the two chocolates together with a skewer.", "Chill the shortbread in the fridge for another 1-2 hours until the chocolate topping has hardened.", "Cut into 16 pieces and enjoy." ], "author": null }
- Assistantjson
{ "data": "GB" }