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": "NO-BAKE CHEESECAKE EGGS", "description": "When chocolate Easter eggs are so easy and cheap to buy you can really have some fun experimenting with this recipe.\nWhy not take half of an Easter egg shell, fill it with a biscuit base (carefully - don't go breaking that chocolate), and top\nwith a silky-smooth cheesecake filling? You can decorate with any of your favourite Easter treats too - let's just\nappreciate how good they look for a second because YUM! You can have so much fun playing with the flavours, with the\nEaster chocolates you add on top, or even the biscuit flavours in the base. Add 15g cocoa powder to the biscuits for a\nchocolate base or add 1 teaspoon of orange extract to the cheesecake filling. Also, if you are prepared, these would make\ngreat little Easter gifts!", "subtitle": "When chocolate Easter eggs are so easy and cheap to buy you can really have some fun experimenting with this recipe.", "ingredients": [ { "section": "Base", "ingredients": [ "1 medium Easter egg", "35g unsalted butter", "75g digestive biscuits" ] }, { "section": "Filling", "ingredients": [ "200g full-fat soft cheese, at room temperature", "½ tsp vanilla extract", "2 tbsp icing sugar", "100ml double cream", "25g cocoa powder" ] }, { "section": "Decoration", "ingredients": [ "50g milk chocolate, melted", "Easter chocolates", "Sprinkles" ] } ], "instructions": [ "Carefully split the Easter egg into two halves.", "Melt the butter in the microwave in short bursts or in a small pan over a medium heat.", "In a food processor, blitz the biscuits to a fine crumb, add the melted butter and pulse a few times until the mixture is well combined.", "Divide the mixture equally between the two halves of the Easter egg, and very gently press down, without breaking the shell.", "In a large bowl, whisk the soft cheese, vanilla extract and icing sugar until smooth.", "Add the double cream and cocoa powder and whisk again until smooth and thickened.", "Divide the mixture evenly between the two Easter egg halves and smooth over as carefully as possible.", "Chill in the fridge for an hour or so until set.", "Drizzle the melted milk chocolate over the two halves and decorate with some Easter chocolates and sprinkles." ], "author": "" }
- Assistant
{ "data": "WWW" }