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": "Young Turnips with Mushrooms and Orzo", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "100g orzo pasta", "a large banana shallot or small onion", "butter or oil", "200g young white turnips", "100g button or small chestnut mushrooms", "2 handfuls of rocket" ] }, { "section": "Aubergine, orzo and basil", "ingredients": [ "a large aubergine", "olive oil", "a crushed clove of garlic", "shredded basil", "lemon juice", "salt", "150g orzo", "a handful of grated Parmesan" ] }, { "section": "Roast pork, pasta", "ingredients": [ "cooked, drained orzo", "roasting juices of a joint of roast pork" ] }, { "section": "A cure", "ingredients": [ "homemade or good-quality bought chicken stock", "cooked, drained orzo", "sea salt", "lemon juice", "chopped mint" ] } ], "instructions": [ "Boil 100g orzo pasta in deep salted water for about 9 minutes, till tender.", "Peel a large banana shallot or small onion and slice it finely, then fry in a little butter or oil till pale gold.", "Remove and set aside.", "Slice 200g young white turnips into rounds about the thickness of a pound coin.", "Slice 100g button or small chestnut mushrooms.", "Fry both in a little butter and oil till golden brown.", "Return the fried shallot to the pan, then add 2 handfuls of rocket.", "Drain the cooked pasta and toss with the shallots, turnip, rocket and mushrooms.", "Trim and finely dice a large aubergine, then fry in olive oil till soft and pale gold.", "Add a crushed clove of garlic, fry a minute or so longer, then season with shredded basil, a little lemon juice and some salt.", "Cook 150g orzo as opposite, then stir it into the aubergine.", "Toss with a handful of grated Parmesan.", "Add cooked, drained orzo to the roasting juices of a joint of roast pork.", "Stir gently and serve with the pork. The pasta will soak up the sticky juices from the pan.", "Bring some homemade or good-quality bought chicken stock to the boil.", "Add cooked, drained orzo, sea salt and lemon juice, then finish with chopped mint." ], "author": null }
- Assistantjson
{ "data": "WEU" }