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": "NO-CHURN CHERRY BAKEWELL ICE CREAM", "description": "When you marry together almonds and cherries you get Cherry Bakewell. And with just blended cherries, double cream, condensed milk and almond extract you can create cherry bakewell ice cream! I like to add a smidge of pink food colouring to make it even prettier. A sprinkle of toasted almonds on top and some fresh cherries will give you a taste of heaven!", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "200g pitted cherries", "450ml double cream", "397g tin condensed milk", "1 tsp almond extract", "½ tsp pink food colouring (optional)", "Cherries and toasted flaked almonds, to serve" ] } ], "instructions": [ "Add the pitted cherries to a blender and blitz until smooth.", "Pass through a sieve to remove any lumps and set aside.", "Pour the double cream into a bowl and whip to stiff peaks.", "Put the condensed milk, almond extract, pink food colouring (if using) and puréed cherries into a separate bowl and stir to combine.", "Fold through the whipped cream until combined, then pour the mixture into a container - I use a 900g loaf tin.", "Freeze for at least 5-6 hours, or preferably overnight so it has time to get to the correct texture.", "Remove from the freezer about 20 minutes before serving to allow it to soften slightly.", "Scoop into bowls and serve topped with fresh cherries and toasted flaked almonds." ], "author": null }
- Assistantjson
{ "data": "GB" }