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": "PEANUT BUTTER JELLY BLONDIES", "description": "We all know that peanut butter and jam work together exquisitely as a combination and I love the way Americans refer to jam as "jelly', so I couldn't resist coming up with this recipe. Adding peanut butter, white chocolate chips, raspberries, jam and peanuts to a blondie seemed like an obvious opportunity to create an iconic bake, and so many of you wanted to see this recipe. I think they could be served at a summer party or a birthday as a special dessert, but if we're being honest, these would taste delicious every day of the week.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "200g unsalted butter, melted", "125g white granulated sugar", "125g soft light brown sugar", "3 eggs", "1 tsp vanilla extract", "275g plain flour", "1 tbsp cornflour", "100g peanuts", "100g white chocolate chips", "100g fresh raspberries", "100g raspberry jam", "100g smooth peanut butter" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and line a 23cm square tin with parchment paper.", "In a large bowl, add the melted butter, white sugar and brown sugar and beat until smooth.", "Add the eggs and vanilla extract and beat again until smooth.", "Add the flour and cornflour and beat until thick.", "Add the peanuts, chocolate chips and raspberries to the mixture and fold through.", "Pour the mixture into the tin and spread out evenly.", "Dollop on the jam and peanut butter using a teaspoon and lightly swirl through the blondie mixture.", "Bake in the oven for 25-30 minutes, or until there is a slight wobble in the middle.", "Leave to cool in the tin, then chill in the fridge for at least 2 hours, but preferably overnight.", "Cut into squares with a sharp knife." ], "author": null }
- Assistant
{ "data": "US" }