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": "JANE'S SHORTBREAD", "description": "I have always loved shortbread and when I was at school it was always my go-to sweet treat. Even now, I LOVE to make this on a regular\nbasis - it's one of those classics that everyone adores (or at least everyone I know). Creaming together the butter and sugar is so easy,\nthen beat in the flour, salt and whatever flavours you fancy and it's done. Honestly, it couldn't be more simple!", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "175g unsalted butter", "75g caster sugar, plus extra for sprinkling", "260g plain flour, plus extra for dusting", "Pinch of salt" ] }, { "section": "FLAVOUR IDEAS (OPTIONAL)", "ingredients": [ "200-300g chocolate chips (white/milk/plain)", "Zest of 1 lemon", "Zest of 1 orange", "Zest of 2 limes", "75g chopped pistachios, almonds, shredded coconut, dried cranberries, pecans, walnuts, macadamias", "1 tbsp dried lavender", "1 tsp vanilla extract" ] } ], "instructions": [ "Preheat the oven to 190°C/170°C fan and line 2-3 large baking trays with parchment paper.", "Cream together the butter and sugar until light and fluffy.", "Add the plain flour, salt and any flavours you are using and knead the mixture until a dough\nis formed.", "Dust your work surface with a little flour and roll out your dough until it is 1cm thick.", "Using a 6cm round cutter, cut the cookies out and put onto the\nlined trays.", "Gather up the offcuts, re-roll and cut out more rounds - continue until you have used up all the dough (it won't take much kneading to re-\nroll).", "Prick the tops of the shortbreads with a fork and chill in the fridge for at least 30 minutes.", "Meanwhile, preheat the oven to 180°C/160°C fan.", "Bake the chilled shortbread rounds for 15-18 minutes until baked through (they'll be relatively firm).", "Take the trays out of the oven and sprinkle on\nsome caster sugar.", "Leave the shortbread to cool on the trays for 5 minutes, then transfer to a wire rack to cool completely." ], "author": "Jane" }
- Assistantjson
{ "data": "GB" }