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": "FLORENTINES", "description": "Florentines are quite an interesting bake, as you often see them displayed in the patisserie section and they seem posh and\nexclusive. But with a sweet biscuit-like pastry, lots of fruit and nuts and dipped into chocolate they are actually really\nyummy and a must for any occasion! The base is made of four simple ingredients - butter, sugar, golden syrup (you could\nuse honey instead) and flour. It's then packed with all sorts, such as mixed nuts, candied peel and dried cranberries. Full\nof texture and flavour, the final dunk in melted chocolate finishes them off exquisitely. I reckon a little treat bag of these\nwould make such a cute gift year-round!", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "75g unsalted butter", "75g soft light brown sugar", "75g golden syrup", "75g plain flour", "50g candied peel", "75g mixed nuts, chopped (I use pecans\nand almonds)", "50g dried cranberries, chopped", "250g milk or dark chocolate" ] } ], "instructions": [ "Preheat the oven to 190°C/170°C fan and line three baking trays with parchment paper.", "In a small pan, add the butter, sugar and golden syrup and heat gently until melted and\ncombined.", "In a large bowl, add the flour, candied peel, mixed nuts and dried cranberries. Pour in\nthe butter mixture and stir until smooth.", "Spoon 20 heaped teaspoonfuls of the mixture onto the lined baking trays, leaving a\nlittle space between each one for spreading during baking.", "Bake in the oven for 9-10\nminutes until golden brown and even in colour.", "Leave to cool on the trays for at least\n15 minutes, before cooling fully on a wire rack.", "In a heatproof bowl, break up the milk or dark chocolate into pieces and melt in a\nmicrowave in short bursts or over a pan of simmering water (bain-marie) until smooth.", "Spread some of the melted chocolate onto the base of each florentine and return to the\nlined baking trays.", "Leave to set fully." ], "author": null }
- Assistant
{ "data": "IT" }