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 Chip Scones", "description": "Rich and fudgy chocolate scones full of chocolate chips and with a chocolate drizzle on top, these are best served with clotted cream or whipped double cream, and your favourite chocolate spread! You can make them even more special by serving with fresh berries, such as strawberries or raspberries.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "300g self-raising flour, plus extra for dusting", "25g cocoa powder", "125g chilled unsalted butter, cubed", "2 tsp baking powder", "Pinch of salt", "50g caster sugar", "200ml buttermilk", "1 tsp vanilla extract", "175g chocolate chips", "1 egg, beaten, for glazing" ] }, { "section": "FILLING & TOPPING", "ingredients": [ "75g milk chocolate, melted", "Clotted cream", "Chocolate spread" ] } ], "instructions": [ "Preheat the oven to 220°C/200°C fan and place a baking tray lined with parchment paper into the oven to preheat.", "Tip the self-raising flour, cocoa powder, butter, baking powder and salt into a food processor and pulse until the mixture resembles breadcrumbs.", "Alternatively, you can rub the mixture together with your fingertips to get the breadcrumb texture.", "Pour the mixture into a large bowl, and stir in the caster sugar.", "Add the buttermilk and the vanilla extract to the mixture, stir to combine and knead slightly to bring together.", "Add the chocolate chips and bring the mixture together.", "Sprinkle some extra flour onto a work surface and turn the dough out on to it.", "Gently roll it out, or press it down until it is about 4cm thick.", "Using a 5cm cutter, cut out the scones - you will have to re-roll the mixture a couple of times to get them all out of the mix.", "Take the tray out of the oven, and arrange the scones on it.", "Brush the top of the scones with the beaten egg and bake for 10-12 minutes.", "Leave to cool for about 20 minutes.", "Drizzle the melted milk chocolate over the scones and leave the chocolate to set.", "Serve the scones with clotted cream and chocolate spread." ], "author": null }
- Assistant
{ "data": "GB" }