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": "Chicken, Asparagus and Avocado Sandwich", "description": "Toasted sourdough, herb mayo, cold chicken, crisp, ice-cold lettuce and avocado. Possibly my favourite sandwich.", "subtitle": "", "ingredients": [ { "section": "For the recipe", "ingredients": [ "cold roast chicken", "basil", "tarragon", "dill", "mayonnaise", "asparagus", "avocado", "lettuce", "spring onions", "sourdough bread", "smoked streaky bacon", "chilli", "coriander leaves", "cucumber", "radishes", "dark rye bread" ] } ], "instructions": [ "Boil 8 small asparagus spears in deep water till just tender (they should still be slightly crisp for this), then drain.", "Slice them in half lengthways and set aside.", "Shred 2 crisp iceberg lettuce leaves.", "Trim 4 spring onions and halve lengthways.", "Peel and slice a small avocado.", "Slice a cooked chicken breast, or remove slices from yesterday's Sunday roast.", "Put 4 heaped tablespoons of mayonnaise in a bowl, stir in a tablespoon each of chopped basil, tarragon and dill and season lightly with salt.", "Toast 4 slices of sourdough bread and spread each of them with the herb mayonnaise.", "Top 2 of the slices with the lettuce and asparagus spears, followed by the spring onions and avocado.", "Place slices of chicken on top and sandwich together with the remaining bread.", "With bacon and chilli-coriander mayo", "Grill a few rashers of smoked streaky bacon till truly crisp.", "Finely chop a small chilli, removing the seeds as you go.", "Fry in a little oil, then stir into 4 or 5 tablespoons of mayonnaise, together with a handful of finely chopped coriander leaves.", "Pull some cold roast chicken to shreds and fold into the chilli-coriander mayo.", "Pile the mixture into rolls, tucking the crisp bacon in as you go.", "Herb mayonnaise, radish, cucumber", "Peel, deseed and dice some cucumber.", "Trim a few radishes and slice them in half lengthways.", "Add to the herb mayonnaise opposite with some roughly torn pieces of roast chicken.", "Pile on to dark rye bread, preferably in a curl of perfect, crisp summer lettuce." ], "author": "" }
- Assistant
{ "data": "WWW" }