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é.
code1. 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": "PEACH RASPBERRY CAKE", "description": "When I bake a cake with fruit, I always expect something fresh and delicious and this cake 100% represents that - the perfect summery, fruity cake. Using peach slices and raspberries makes for such a light, beautiful bake, especially when you drizzle the juice from the tinned peaches onto the sponge to soak up all that lovely flavour. If you want to use fresh peaches when they are in season, absolutely go for it! You can also use fresh or frozen raspberries. Imagine serving this cake with some custard, or even a scoop of ice cream on a sunny day ... oh my.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "325g unsalted butter, at room temperature", "325g caster sugar, plus 75g for sprinkling", "5 eggs", "1 tsp vanilla extract", "350g plain flour", "1 tsp baking powder", "2x400g tins sliced peaches", "250g fresh/frozen raspberries" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and line a 22 × 33cm traybake tin with parchment paper.", "In a large bowl, cream the butter and sugar together until light and fluffy.", "Add the eggs, vanilla extract, flour and baking powder, then beat again until smooth.", "When removing the sliced peaches from their tins, reserve the syrup for later.", "Carefully lay the slices on the bottom of the lined tin, filling in any gaps with the raspberries.", "Sprinkle over the extra caster sugar.", "Carefully spread the cake mixture over the top of the fruit and transfer the cake to the oven to bake for 45-50 minutes until the cake springs back when you press it with your finger.", "Leave the cake to cool in the tin for 30 minutes and then carefully turn the cake out onto a serving plate, and remove the parchment paper. The fruit should now be at the top of the cake.", "Drizzle the reserved syrup from the sliced peaches over the cake and leave the cake to cool fully before serving." ], "author": null }
- Assistantjson
{ "data": "WWW" }