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": "CHEESE PESTO WHIRLS", "description": "One of the most classic savoury bakes in the world is cheese straws - there is just something about them that is amazing.\nPastry and cheese together is always warming and delightful, but whack in a load of pesto and they are instantly better.\nInstead of straw shapes, I decided to give you my recipe for Cheese Pesto Whirls, an ideal snack for any celebration or\nrefined enough to be served as a little starter. I use red pesto, but use green if you prefer or you can even make your own\nusing the recipe in this book (page 258).", "subtitle": "An ideal snack for any celebration or refined enough to be served as a little starter.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "Plain flour, for dusting", "350g ready-made puff pastry", "40g red pesto", "50g Parmesan, finely grated", "100g mature Cheddar cheese, finely grated" ] } ], "instructions": [ "Preheat the oven to 220°C/200°C fan and line two large trays with parchment paper.", "On a lightly floured work surface, roll out the pastry into a large rectangle until it is 3–4mm thick.", "Spread the red pesto evenly onto the pastry.", "Sprinkle the Parmesan and Cheddar onto the pesto and press down slightly.", "From long side to long side, roll up the pastry tightly into a long sausage shape.", "If the pastry is a bit soft by this point, chill in the fridge for 30 minutes.", "Remove and slice the pastry sausage into 1cm-wide slices with a sharp knife to form the cheese pesto whirls and lay onto the lined baking trays.", "Bake in the oven for 12-14 minutes until golden brown in colour.", "Leave to cool for 15 minutes and enjoy warm or leave to cool fully and enjoy them cold." ], "author": "" }
- Assistantjson
{ "data": "WEU" }