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": "NO-BAKE WHITE CHOCOLATE TIFFIN", "description": "Tiffin and rocky road are extremely similar treats, but to me tiffin is something that is usually quite biscuit-based, with fruity additions\nsuch as raisins, sultanas, or in this case, dried cranberries. White chocolate and cranberries together are utterly scrumptious, and along\nwith the biscuits, glacé cherries and desiccated coconut you have a wonderful no-bake white chocolate traybake of heaven.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "400g white chocolate, finely chopped", "50g unsalted butter", "200g biscuits, chopped", "100g glacé cherries", "100g dried cranberries", "25g desiccated coconut" ] }, { "section": "TOPPING", "ingredients": [ "100g white chocolate, melted" ] }, { "section": "CUSTOMISE", "ingredients": [ "50g mini marshmallows", "100g large marshmallows", "75g cereal (such as cornflakes, rice pops)", "100g chocolate sweets" ] } ], "instructions": [ "Line a 20-23cm square tin with parchment paper and set aside.", "Put the white chocolate and butter into a heatproof bowl and melt together until smooth.", "I do this in the microwave in short 10-15 second bursts but\nyou could also set the bowl over a pan of simmering water (bain-marie).", "Put the chopped biscuits, glacé cherries, dried cranberries and desiccated coconut into a separate bowl and stir until they are mixed well, then pour\nover the melted white chocolate mixture.", "Fold the mixture together until everything is covered in chocolate.", "Pour into the prepared tin and spread\nuntil it is even.", "Drizzle over the melted white chocolate for the topping and then chill in the fridge for 2 hours until set.", "Cut into 16 pieces and enjoy!" ], "author": null }
- Assistant
{ "data": "GB" }