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": "RHUBARB & CUSTARD BLONDIES", "description": "Rhubarb and custard is an iconic flavour combination - whether you think of those boiled sweets (my parents used to adore these) or\neven just stewed rhubarb topped with fresh custard, the sweet tang you get from the rhubarb, combined with the lovely flavour of\ncustard, it really is amazing. Add these delicious flavours to a blondie traybake and it wins everyone's favourite bake!", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "175g rhubarb", "300g white granulated sugar", "2 tbsp water", "200g unsalted butter, melted", "3 eggs", "125g plain flour", "75g custard powder", "200g white chocolate chips or chunks", "100g custard" ] } ], "instructions": [ "Chop the rhubarb into pieces, and add to a pan with 50g of the sugar and the water.", "Place over a medium heat, stirring occasionally, for about 5 minutes, or until the rhubarb softens.", "Set aside to cool.", "Preheat the oven to 180°C/160°C fan and line a 23cm square tin with parchment paper.", "Put the melted unsalted butter and remaining 250g sugar into a large bowl and beat until smooth.", "Add the eggs and beat until smooth, then add the plain flour and custard powder and beat until combined.", "Fold through the white chocolate chips or chunks.", "Pour the mixture into the tin and spread out evenly.", "Dollop the rhubarb mixture and custard over the top and swirl through slightly using a cake skewer or knife.", "Bake the blondies for 30-35 minutes, or until there is an ever so slight wobble in the middle.", "Leave the blondies to cool fully in the tin before cutting into 16 squares." ], "author": null }
- Assistantjson
{ "data": "GB" }