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 FOR TWO", "description": null, "subtitle": "When it's Valentine's Day, you want something simple and luscious to make for dessert and this is the one. A quick biscuit base, chocolate cheesecake filling and some romantic chocolate-dipped strawberries to spoil your loved one. You can make these individual cheesecakes vanilla-flavoured by leaving out the cocoa powder or you can even make them caramel-flavoured by swapping the cocoa powder for 35g caramel sauce. Even if you don't want to impress that special someone and you just want to make a dessert for a couple of friends, this recipe is perfect for that too. Double the quantities for four, triple it for six... you get the idea.", "ingredients": [ { "section": "Base", "ingredients": [ "30g unsalted butter", "60g digestive biscuits" ] }, { "section": "Filling", "ingredients": [ "100g full-fat soft cheese, at room temperature", "½ tsp vanilla extract", "1 tbsp icing sugar", "50ml double cream", "25g cocoa powder" ] }, { "section": "Decoration", "ingredients": [ "White chocolate-coated strawberries", "Chocolate curls" ] } ], "instructions": [ "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 biscuit mixture between two glasses and press the mixture down.", "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.", "Spoon the mix equally into the two glasses, and level carefully.", "Chill in the fridge for an hour or so until set.", "Decorate with whatever ingredients you fancy - I used white-chocolate-coated strawberries and chocolate curls but crushed-up biscuit crumbs or toasted nuts would also be delicious." ], "author": null }
- Assistant
{ "data": "WWW" }