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é.
1. 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": "CHOCOLATE DIPPY EGGS", "description": "We all enjoy dippy eggs and soldiers. Or at least I know that I spent my childhood eating soft-boiled eggs with runny yolks, dipping my slices of toast in and devouring. It is still one of my favourite things to eat, however, why not transform traditional dippy eggs into something that's fun to eat, indulgent and a little bit different? Use a shop-bought small hollow chocolate egg with the top chopped off, fill with this luxurious homemade chocolate sauce and serve with sticks of toasted hot cross buns for dipping. The ultimate Easter morning breakfast.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "100g dark chocolate", "100g milk chocolate", "75ml double cream", "75ml full-fat milk", "30g golden syrup", "1 tsp vanilla extract", "10-12 hollow chocolate eggs", "Hot cross buns, toasted (try my Homemade Hot Cross Buns, page 223)" ] } ], "instructions": [ "In a heavy-based pan, break up the dark chocolate and milk chocolate into small pieces.", "Add the double cream, milk, golden syrup and vanilla extract and heat over a low-medium heat, stirring regularly.", "Once melted, leave the mixture to cool.", "Whisk every now and again to prevent a skin forming on the chocolate sauce.", "While the mixture is cooling, carefully cut the tops off the chocolate eggs.", "I use a small sharp knife and carefully cut them off, avoiding cracking the shells.", "Once the chocolate mixture has cooled, pour carefully into the shells.", "Make sure the shells are supported so they don't fall over and spill!", "Toast some hot cross buns and cut into fingers-dip into the shells and enjoy a gooey chocolate DELICIOUS treat!" ], "author": null }
- Assistant
{ "data": "GB" }