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": "Lamb Shanks with Crushed Roots", "description": "Lamb shanks take a long time to cook, but they need minimal preparation. Just a bit of chopping and stirring, then the oven does most of the work. This hearty roast is perfect for a weeknight meal.", "subtitle": "A hearty, untroublesome roast.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "500g large carrots", "500g parsnips", "2 small lamb shanks", "500ml stock (lamb, chicken or vegetable)", "a bunch of thyme", "olive oil", "salt", "pepper" ] } ], "instructions": [ "Peel 500g large carrots and 500g parsnips and cut into rough chunks, then brown them lightly all over in a little olive oil over a moderate heat in an ovenproof dish.", "Place 2 small lamb shanks on top of the vegetables, pour over 500ml stock (lamb, chicken or vegetable), tuck in a bunch of thyme, season with salt and pepper, then cover the dish tightly with a lid.", "Bake in an oven set at 180°C/Gas 4 for 1½ hours, then remove the shanks, thyme and most of the liquid to a warm place.", "Using the small amount of liquid in the dish, roughly crush the roots with a potato masher or fork and serve with the shanks and the reserved juices." ], "author": "" }
- Assistantjson
{ "data": "WWW" }