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": "CHEAT'S CHRISTMAS PUDDING", "description": "Christmas pudding is one of those iconic dishes that, if I'm being honest, is not my favourite thing to make. It's having to remember when to start it, remembering when to feed it, and all sorts... but this pudding recipe? Oh, it's just SO easy and quick to do in comparison! There is no Stir-up Sunday needed - whack all the ingredients together in a bowl, beat until everything is distributed evenly and pour into your prepared pudding basin. Yes, you do need to make sure the basin will fit in the pan you are using to simmer it in (a mistake I made at first), but that's all you need to remember. Serve with a dollop of cream, set alight with a little brandy or even enjoy alongside a chunk of cheese.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "150g raisins", "150g sultanas", "50g mixed peel", "150g self-raising flour", "125g chilled unsalted butter, grated", "100g fresh breadcrumbs", "215g soft light brown sugar", "150g mixed nuts", "1 tsp ground cinnamon", "1 tsp mixed spice", "1 tsp ground ginger", "250ml full-fat milk", "1 egg" ] } ], "instructions": [ "In a large bowl, mix the raisins, sultanas, mixed peel, flour, butter, breadcrumbs, sugar, mixed nuts, cinnamon, mixed spice and ginger.", "Add the milk and egg and beat until well combined.", "Grease and line a 1.5L pudding basin with parchment paper and pour in the mixture.", "Cover the basin with a double layer of buttered foil, making a pleat in the middle so the pudding has room to grow.", "Secure the foil to the basin with string, and then place into a large pan that will fit the bowl.", "Pour some boiling water into the pan so that it comes a few centimetres up the sides of the basin, put the pan lid on and let it simmer for 2½ hours, checking the water level every 20-30 minutes.", "When the water gets lower, top it up slightly so there is always water in the pan.", "Carefully remove the steamed pudding from the pan with oven gloves and pour away the hot water.", "Remove the string and foil and turn the pudding out onto a serving plate.", "Enjoy!" ], "author": null }
- Assistantjson
{ "data": "GB" }