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": "Bakewell Blondies", "description": "Almond and jam ... a delicious combination. Usually in a Bakewell slice there is a pastry base, a jam layer, and almond filling, and\ndecoration on top. These blondies from my blog basically use the same flavours, just without the pastry! I've used raspberry jam, but you\ncan use whatever jam you fancy-strawberry is my second favourite, along with cherry.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "250g unsalted butter, melted", "125g white granulated sugar", "125g soft light brown sugar", "3 eggs", "1 tsp almond extract", "200g plain flour", "100g ground almonds", "1 tbsp cornflour", "200g white chocolate chips or chunks", "250g raspberry jam", "50g flaked almonds" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and line a 23cm square tin with parchment paper.", "Beat the melted butter, white granulated sugar and soft light brown sugar in a large bowl until smooth.", "Add the eggs and almond extract and beat\nagain until smooth.", "Add the plain flour, ground almonds and cornflour and beat until you have a thick blondie mixture, then add the white chocolate chips and fold\nthrough.", "Pour the mixture into the tin, and spread evenly.", "Dollop on the jam using a teaspoon, and lightly swirly through the blondie mixture.", "Finally sprinkle\nover the flaked almonds.", "Bake the blondies for 30-35 minutes, or until there is an ever so slight wobble in the middle.", "Leave to cool fully in the tin before cutting into squares." ], "author": null }
- Assistantjson
{ "data": "GB" }