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": "VALENTINE'S COOKIE BARS", "description": "There is something about eating a cookie bar that is so much more fun than eating a regular-shaped cookie and this recipe creates the cutest bars. I adore a flavour theme when it comes to my cookie bars, but when you can theme them colour-wise as I have done here, they look even more amazing. I enjoy giving homemade gifts at any time of year, but around Valentine's Day it just seems so appropriate to bake something with love for your other half, or for friends if you like to celebrate with your pals. As always, it would be easy to match the theme colours to any other celebration - Christmas, Easter or even a birthday.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "275g plain flour", "1 tsp bicarbonate of soda", "½ tsp sea salt", "1 tbsp cornflour", "115g unsalted butter", "100g white granulated sugar", "100g soft light brown sugar", "1 egg", "1 tsp vanilla extract", "250g milk chocolate chunks", "250g red/white/pink chocolates" ] } ], "instructions": [ "Preheat the oven to 190°C/170°C fan and line a 23cm square tin with parchment paper.", "In a large bowl, whisk together the flour, bicarbonate of soda, sea salt and cornflour.", "Leave to one side.", "In a small bowl, melt the butter in the microwave in short bursts.", "Add the melted butter, white sugar and brown sugar to a large bowl and whisk together for 2 minutes until the sugars start to dissolve and the mixture becomes smooth.", "Add the egg and the vanilla extract and briefly whisk again until combined.", "Add the reserved dry ingredients to the wet mixture and beat until a thick cookie dough is formed.", "Add the chocolate chunks and the coloured chocolates and mix well to distribute evenly through the dough.", "Press the cookie dough into the bottom of the tin and bake in the oven for 20-22 minutes until golden in colour.", "Leave the mixture to cool in the tin for 10 minutes and then turn out onto a wire rack and cool fully.", "Cut into 16 squares with a sharp knife and enjoy!" ], "author": null }
- Assistantjson
{ "data": "WWW" }