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": "Mince Pie Ice Cream", "description": "My easy festive Mince Pie Ice Cream recipe is perfect at Christmas time, or for when you want a little taste of Christmas at any other time of year. This recipe starts in a similar way to most of my other no-churn ice cream recipes, with double cream and condensed milk, but it's the addition of chopped mince pies, mincemeat, and a little mixed spice that makes this a truly special companion to any festive pudding or a luxurious dessert in its own right.", "subtitle": "My easy festive Mince Pie Ice Cream recipe is perfect at Christmas time, or for when you want a little taste of Christmas at any other time of year.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "600ml double cream", "397g tin condensed milk", "1 tsp vanilla extract", "½ tsp mixed spice", "6 mince pies, chopped (try my Gingerbread Mince Pies, page 202)", "200g mincemeat" ] } ], "instructions": [ "In a large bowl, add the double cream, condensed milk, vanilla extract and mixed spice.", "Whisk until smooth and even.", "Continue to whisk until the mixture starts to thicken - it doesn't need to be extremely thick, it just needs to be smooth and starting to thicken.", "Alternatively, you can whip the cream in a separate bowl to form soft peaks and then fold the ingredients together.", "Add one-third of the mixture to a container - I use a 900g loaf tin - and swirl through two of the chopped mince pies and one-third of the mincemeat.", "Repeat twice more so that all of the ingredients are used up.", "Put the tin in the freezer until frozen and firm and enjoy." ], "author": null }
- Assistantjson
{ "data": "GB" }