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": "EASTER FLAPJACKS", "description": "Messing with the tradition of this bake is pure fun - add a load of Easter chocolates and even more chocolate chips for the wow factor! Kids will love these - you can use their favourite chocolates or you can also leave the chocolate out for a great basic flapjack. These are undeniably one of those crowd-pleaser traybakes and will disappear within seconds as they are such a nostalgic and familiar treat.", "subtitle": "Butter, sugar, golden syrup and oats create one of the most classic and easiest bakes in the world, the beloved flapjack.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "200g unsalted butter", "200g soft light brown sugar", "200g golden syrup", "400g rolled oats", "100g milk chocolate chips", "200g Easter chocolates" ] }, { "section": "Topping", "ingredients": [ "100g milk chocolate, melted", "100g Easter chocolates, chopped" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and line a 23cm square tin with parchment paper.", "In a medium pan, add the butter, sugar and golden syrup and melt over a low heat until smooth.", "Leave to cool for about 5 minutes.", "In a large bowl, add the rolled oats, chocolate chips and Easter chocolates and mix well.", "Pour the butter mixture over and stir to combine.", "Firmly press the mixture into the base of the tin and bake in the oven for 20-25 minutes until it starts to brown around the edges and firm up.", "Leave to cool fully in the tin.", "Topping", "Carefully drizzle the melted milk chocolate over the flapjacks while they are in the tin.", "Scatter over the Easter chocolates, then chill the flapjacks in the fridge.", "Cut into squares with a sharp knife and enjoy." ], "author": null }
- Assistantjson
{ "data": "GB" }