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": "Home-made cassoulet", "description": "Cassoulet is a genuinely healthy dish! It contains fibre and slow carbohydrates, and the fatty acid composition of goose fat is similar to that of olive oil. This dish is perfect for preparing the day before.", "subtitle": "A healthy and flavorful dish", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 kg of Soissons haricot beans", "2 carrots", "1 stick of celery", "3 onions", "1 clove", "4 times their volume of water", "1 bouquet garni", "600 g of lamb shoulder trimmed of its fat", "1 tablespoon of goose fat", "4 duck confit legs", "5 tablespoons of goose fat", "6 crushed garlic cloves", "dried breadcrumbs" ] } ], "instructions": [ "Soak 1 kg of Soissons haricot beans the day before.", "On the day, prepare the aromatic vegetables by cutting 2 carrots and 1 stick of celery into small dice. Peel 3 onions; cut two of them in the same way and stud the other with 1 clove.", "Put the drained beans in a saucepan and add 4 times their volume of water. Heat gently, take the saucepan off the heat as soon as it starts to boil, and drain.", "Return the beans to their saucepan, pour in boiling water to cover. Add 1 bouquet garni (2 bunches required in total for the recipe), the clove-studded onion, and half of the carrot and celery dice.", "Cook for 1 hour over a low heat until the beans are soft. Add salt only at the end of cooking.", "In the meantime, melt 1 tablespoon of goose fat (5 tablespoons required in total for the recipe) in a flameproof casserole dish and brown 4 duck confit legs and 600 g of lamb shoulder trimmed of its fat. Drain them on kitchen towel.", "Put the onion dice and the rest of the carrot and celery dice in the casserole dish and sweat for 2 to 3 minutes. Return the meat to the casserole dish, add water to cover, pop in another bouquet garni and 6 crushed garlic cloves. Cook at just under a boil for 45 minutes.", "Filter the cooking liquid through a fine wire mesh strainer and set to one side.", "Heat the oven to 160 °C (gas mark 3). Chop 6 garlic cloves.", "When the beans are cooked, drain and return them to the saucepan with this garlic and the reserved liquid from the meat. Check the seasoning.", "Cut the lamb shoulder into pieces, cut the duck legs in half. Lay them on a dish. Pour over the beans with their water; the liquid should just cover them.", "Spread 4 tablespoons of melted goose fat on top. Sprinkle the cassoulet with dried breadcrumbs and put in the oven for 1 hour. Serve in its dish, nice and hot." ], "author": "" }
- Assistantjson
{ "data": "FR" }