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é.
1. 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": "Marmalade Chicken", "description": "Sweet, spicy, succulent chicken drumsticks baked with a marmalade and mustard glaze. Explore variations with chilli flakes, shallots, or a sweet and sticky coating with honey and treacle.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "6 large chicken drumsticks", "6 heaped tablespoons of marmalade", "3 tablespoons of grain mustard", "black pepper" ] }, { "section": "For a warmer version", "ingredients": [ "a pinch of dried chilli flakes", "a little finely chopped shallot or onion" ] }, { "section": "Mustard, mango chutney, Worcestershire sauce, a spiced chicken sandwich", "ingredients": [ "a tablespoon or so of Dijon mustard", "2 crushed cloves of garlic", "a couple of tablespoons of mango chutney", "a tablespoon of Worcestershire sauce", "a couple of cold cooked chicken legs", "soft, floury, white baps" ] }, { "section": "A sweet sticky coating", "ingredients": [ "runny honey", "black treacle", "grain mustard", "tomato ketchup" ] } ], "instructions": [ "Put 6 large chicken drumsticks on a foil-lined baking tray or in a small roasting tin.", "Mix 6 heaped tablespoons of marmalade with 3 tablespoons of grain mustard and a grinding of black pepper.", "Spoon the seasoned marmalade over the chicken and bake for about 30 minutes in an oven set at 200°C/Gas 6, keeping an eye on them so they don't burn.", "For a warmer (but far from hot) version, add a pinch of dried chilli flakes to the marmalade mix, or a little finely chopped shallot or onion. Score the chicken all over with a knife, then massage and spread the marmalade down into the slashes.", "Mix together a tablespoon or so of Dijon mustard, 2 crushed cloves of garlic, a couple of tablespoons of mango chutney and a tablespoon of Worcestershire sauce.", "Deeply slash a couple of cold cooked chicken legs, smooth the spice paste over them, then cook under an overhead grill till sizzling.", "Cut the meat from the bone, then stuff into soft, floury, white baps.", "Make a mixture of runny honey, black treacle, grain mustard and tomato ketchup. The result should be sweet, with a back note of heat from the grain mustard.", "Toss the drumsticks till well coated, then bake as opposite, keeping a close eye on them.", "If they appear to be browning too quickly, cover them with foil." ], "author": null }
- Assistant
{ "data": "GB" }