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": "LEMON MADELEINES", "description": "A madeleine is a classic French bake that not many people attempt themselves and I want to change that. I can't think of anything better than having a few of these shell-like sponges served alongside my afternoon tea or looking pretty on display at a birthday or summer party. They have a particularly light texture from whisking the eggs and adding a dash of leavening agent and with the fresh flavour of lemon, what's not to love? A dusting of icing sugar is the final flourish.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "100g unsalted butter or baking spread, plus extra for greasing", "2 eggs", "100g caster sugar", "100g plain flour, plus extra for dusting", "½ tsp baking powder", "Zest of 1 lemon", "Icing sugar, for dusting (optional)" ] } ], "instructions": [ "Preheat the oven to 200°C/180°C fan and use a pastry brush to brush a 12-hole madeleine tray with melted butter, and lightly dust with flour.", "In a medium bowl, whisk the eggs and sugar until they are light and frothy.", "Add the flour, baking powder and lemon zest and whisk again until smooth.", "Chill in the fridge for 10 minutes.", "Divide the mixture equally between the 12 holes, using 1 heaped tablespoon of mixture per madeleine.", "You do not need to spread the mixture out, just dollop in the middle of each madeleine mould.", "Bake in the oven for 9-10 minutes, or until slightly golden in colour and the distinctive madeleine shape has formed.", "Transfer to a wire rack to cool a little, dust over some icing sugar (optional) and enjoy while still warm." ], "author": null }
- Assistant
{ "data": "FR" }