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": "HALLOWEEN SANDWICH COOKIES", "description": "We all love a nostalgic jam-filled sandwich biscuit, right? So why not make other versions using different shapes like Christmas-themed trees or reindeer? Or maybe baby-shower-themed cookies? I absolutely couldn't resist making some pumpkin- and bat-shaped sandwich cookies for Halloween and these shapes and flavours have got me hooked! A simple, sweet sugar cookie dough, coloured appropriately for orange pumpkins and black bats, sandwiched together with some marmalade makes the perfect treat for serving up at a Halloween party. Using cookie cutters of the same shape, but different sizes makes the sandwiching process so easy.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "250g unsalted butter, at room temperature", "150g icing sugar", "1 tsp vanilla extract", "350g plain flour, plus extra for dusting", "2 egg yolks", "1 tsp orange food colouring", "1 tsp black food colouring", "200g marmalade" ] } ], "instructions": [ "In a large bowl, cream together the butter and icing sugar until smooth and combined.", "Add the vanilla extract, flour and egg yolks and beat again to form a dough.", "Divide the dough into two. Colour one batch with the orange food colouring and the other with the black food colouring. Wrap each batch of dough in clingfilm and chill in the fridge for at least 1 hour.", "Preheat the oven to 180°C/160°C fan and line four large baking trays with parchment paper.", "Remove the dough from the fridge and roll out both batches of dough on a lightly floured work surface to roughly 2cm thick.", "Cut out 6-8 shapes from each batch - I used pumpkin-shaped cutters for the orange dough and bat-shaped cutters for the black dough. Using a smaller cutter of the same shape, cut out another little shape in the middle of each cookie so that the marmalade will be visible once assembled.", "There should be both orange and black dough left over, so reserve to use later.", "Divide the cookies between two of the lined trays and bake in the oven for 10 minutes.", "Using the reserved dough, cut out 6-8 more shapes from each batch, without cutting out the middles this time. While the first batch of cookies are cooling on their trays, transfer the second batch to the remaining two lined trays and bake in the oven for 10 minutes.", "Leave the biscuits to cool on the baking trays.", "Take the solid cookies and place a teaspoon of marmalade into the centre, spreading it out over the cookie, but not right to the edge.", "Sandwich the other cookies with the holes in on top, so they are aligned." ], "author": null }
- Assistantjson
{ "data": "WWW" }