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": "GINGERBREAD BISCUITS", "description": "Gingerbread biscuits are an iconic festive bake that I just can't get enough of at Christmas. The dough for these biscuits is so easy to make and takes barely any time at all - try to work the dough as little as possible so that the biscuits don't become tough. You can shape these using any cutters of your choice - trees, candy canes, snowmen, reindeer or people. Have fun and decorate them as you wish for any celebration!", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "375g plain flour", "1 tsp bicarbonate of soda", "3 tsp ground ginger", "120g chilled unsalted butter, cubed", "175g soft light brown sugar", "100g golden syrup", "1 egg" ] } ], "instructions": [ "Preheat the oven to 190°C/170°C fan and line three baking trays with parchment paper.", "In a large bowl, add the flour, bicarbonate of soda, ginger and butter and rub together with your fingertips until the mixture resembles breadcrumbs. (Alternatively, pulse the ingredients in a food processor.)", "Add the sugar to the mix and combine and then add the golden syrup and egg, beating until a smooth dough is formed.", "Bring the mixture together with your hands, turn out onto a lightly floured work surface and knead for a couple of minutes.", "Roll out the dough until ½cm thick and using your chosen cutters, make 15 gingerbread people, snowmen or Christmas trees.", "Put them onto the lined trays and bake in the oven for 10-11 minutes.", "Leave to cool fully on a wire rack and either leave plain or decorate how you please." ], "author": null }
- Assistantjson
{ "data": "GB" }