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": "RED VELVET CUPCAKES", "description": "Red velvet is one of those controversial cakes... why on earth does a cake need to have vinegar in it? Do I really have to use buttermilk?!\nYou can of course just bake vanilla cupcakes and use food colouring, but red velvet is meant to be chocolate AND vanilla but still be\nsuper-red - the bicarbonate of soda, vinegar and buttermilk help create the texture and bring the colour out more. This cupcake recipe is\none that my blog readers love and I'm sure you will too!", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "75g unsalted butter or baking spread", "150g caster sugar", "2 eggs", "1 tsp good-quality red food colouring (I use Sugarflair)", "15g cocoa powder", "1 tsp vanilla extract", "125ml buttermilk", "175g plain flour", "1 tsp baking powder", "½ tsp bicarbonate of soda", "1 tsp white wine vinegar" ] }, { "section": "CREAM CHEESE FROSTING", "ingredients": [ "150g unsalted butter, at room temperature", "150g icing sugar", "300g full-fat soft cheese", "1 tsp vanilla extract" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and get 12 cupcake cases ready.", "Beat together the butter and caster sugar in a stand mixer until smooth and fluffy.", "Add the eggs and beat again, then add the red food colouring, cocoa powder and vanilla extract and beat again - the colour should become a deep red.", "Add the buttermilk and plain flour, and beat again, just until combined.", "Finally beat in the bicarbonate of soda, baking powder and white wine vinegar.", "Spoon the mixture evenly between the 12 cases (make sure you only fill them two-thirds full) and bake for 20-25 minutes, or until a skewer inserted in the middle of the cupcakes comes out clean.", "Once baked, leave to cool on a wire rack while you make the frosting.", "Beat the butter and icing sugar together until light and fluffy, just like a normal buttercream. I beat them together for about 5 minutes.", "Add the soft cheese and beat for about a minute, then scrape the sides of the bowl, and add the vanilla extract.", "Beat again for another minute, scraping down the sides of the bowl as needed. It should be a thick and smooth frosting once finished.", "If you want to use some cake crumbs to decorate, level off any peaked cupcakes, or core a couple out slightly and crumble up.", "Using a piping bag and a piping tip (I use a medium 2D closed star), pipe your cream cheese frosting onto the cupcakes.", "Finish by sprinkling over the cake crumbs." ], "author": null }
- Assistant
{ "data": "US" }