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": "APPLE CRUMBLE MUFFINS", "description": "An apple crumble is the most warming dessert, especially when it is colder outside, so turning that wholesome, familiar flavour into a muffin is the dream! These beauties are softly spiced, stuffed with apple chunks and topped with a homemade crumble (you can of course use shop-bought crumble if you're short on time). I drizzle my muffins with a cinnamon-spiced icing, but imagine these served with a splash of custard... HEAVENLY! If you wanted to bake these at a non-autumnal time of year, you could always use other fruit - blackberries or cherries would work well, just keep the weight of the fruit the same.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "125g unsalted butter or baking spread, at\nroom temperature", "150g soft light brown sugar", "3 eggs", "150g soured cream/natural yoghurt", "1 tsp vanilla extract", "250g plain flour", "1 tsp baking powder", "1 tsp bicarbonate of soda", "1 tsp ground cinnamon", "½ tsp ground ginger", "150g Bramley apples, peeled, cored and\ncut into 1cm chunks" ] }, { "section": "Topping", "ingredients": [ "80g plain flour", "40g soft light brown sugar", "40g chilled unsalted butter, cubed" ] }, { "section": "Decoration", "ingredients": [ "100g icing sugar", "½ tsp ground cinnamon", "2-3 tsp water" ] } ], "instructions": [ "Preheat the oven to 190°C/170°C fan and get 12 muffin cases ready.", "In a large bowl, cream the butter and sugar together until combined.", "Add the eggs, soured cream or natural yoghurt and the vanilla extract and beat to combine.", "Add the flour, baking powder, bicarbonate of soda, cinnamon and ginger to the bowl and beat until the mixture is smooth.", "Fold the apple chunks through the mixture.", "Divide the mixture equally between the 12 muffin cases.", "In a large bowl, add the flour, sugar and butter and rub together with your fingertips until the mixture resembles breadcrumbs.", "Spoon the crumble mixture over the muffins and transfer to the oven to bake for 22-26 minutes.", "Leave to cool fully on a wire rack.", "In a bowl, add the icing sugar and cinnamon and mix to combine.", "Gradually add 1 teaspoon of water at a time, stirring after each addition until the mixture becomes thick, but still runny enough to drip from a spoon.", "Drizzle the icing over the muffins." ], "author": null }
- Assistantjson
{ "data": "GB" }