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": "Ras el Hanout Chicken and Spelt", "description": "Tender grains. The warmth of Moroccan spice.", "subtitle": "", "ingredients": [ { "section": "Ras el Hanout Chicken and Spelt", "ingredients": [ "8 chicken wings", "3 tablespoons of oil", "2 tablespoons of ras el hanout", "200g pearled spelt", "400ml boiling water", "4 cabbage leaves", "30g butter" ] }, { "section": "With prosciutto, crème fraîche and tarragon", "ingredients": [ "2 large boned chicken breasts", "olive oil", "4 thin slices of prosciutto", "a handful of tarragon leaves", "butter", "a couple of tablespoons of crème fraîche" ] }, { "section": "With tomato sauce and mozzarella", "ingredients": [ "a couple of cloves of garlic", "olive oil", "a can of chopped tomatoes", "a handful of torn basil leaves", "salt", "black pepper", "4 chicken breasts", "thick slices of mozzarella", "grated Parmesan" ] }, { "section": "Chicken, earthy spice, sweet sharp apricots", "ingredients": [ "6 chicken thighs", "oil", "a peeled and finely sliced onion", "a couple of sliced cloves of garlic", "2 tablespoons of ras el hanout", "a handful of dried apricots", "2 chopped tomatoes", "800ml chicken stock" ] } ], "instructions": [ "Fry 8 chicken wings in 3 tablespoons of oil in a casserole.", "When they start to brown, stir in 2 tablespoons of ras el hanout.", "Add 200g pearled spelt and pour in 400ml boiling water from the kettle.", "Bring back to the boil, lid on, then transfer to an oven heated to 180°C/Gas 4 and bake for 35-40 minutes, till the liquid has been absorbed.", "Shred 4 cabbage leaves, add them to the casserole with 30g butter and cook briefly on the hob before serving.", "Sauté 2 large boned chicken breasts in a little olive oil over a low to moderate heat, turning them regularly and basting them as they cook.", "Remove them from the pan as soon as their juices run clear when you pierce the meat with a skewer at the thickest part.", "Tear 4 thin slices of prosciutto into pieces and roughly chop a handful of tarragon leaves.", "Add a little butter to the pan, followed by the prosciutto and tarragon, then stir in a couple of tablespoons of crème fraîche and return the chicken and any juices to the pan.", "Slice a couple of cloves of garlic, warm them in olive oil, then add a can of chopped tomatoes, a handful of torn basil leaves and a little salt and black pepper.", "Simmer for 6-7 minutes.", "Brown 4 chicken breasts in a little oil, then place in a baking dish, pour over the tomato and basil sauce and lay thick slices of mozzarella on top.", "Scatter over a layer of grated Parmesan and bake for 25 minutes at 180°C/Gas 4.", "Brown 6 chicken thighs in oil in a deep pan, then add a peeled and finely sliced onion and a couple of sliced cloves of garlic, followed by 2 tablespoons of ras el hanout.", "Add a handful of dried apricots, 2 chopped tomatoes and 800ml chicken stock.", "Bring to the boil, season and cover with a lid, then simmer gently for a good hour." ], "author": "" }
- Assistantjson
{ "data": "MA" }