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": "Cider Thighs", "description": null, "subtitle": "Crisp skin, crisp cider, plump chicken.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "6 large chicken thighs", "a little oil", "100g chestnut mushrooms", "2 medium onions", "2 baking-size potatoes", "2 sprigs of rosemary", "6 whole black peppercorns", "a couple of bay leaves", "750ml English dry cider", "Salt", "Pepper", "Lightly cooked shredded green cabbage" ] }, { "section": "Chicken breasts, garlic, thyme, a sweet glaze of Muscat wine", "ingredients": [ "a little onion", "carrot", "celery", "4 crushed cloves of garlic", "3 or 4 bushy sprigs of thyme", "a couple of glasses of sweet Muscat wine", "4 chicken breasts or thighs" ] }, { "section": "Crisp golden chicken skin, soft green leaves, salt flakes", "ingredients": [ "skin from 2 chicken legs or 4 thighs or drumsticks", "2 handfuls of soft butterhead lettuce", "olive oil", "Dijon mustard", "lemon", "sea salt flakes", "French bread", "Cold butter" ] } ], "instructions": [ "Remove and reserve the skin from 6 large chicken thighs, then fry the thighs in a little oil in a large, shallow pan.", "Halve 100g chestnut mushrooms.", "Peel and roughly chop 2 medium onions and add them to the pan together with the mushrooms.", "Cut 2 baking-size potatoes into 4 pieces each and tuck them into the pan.", "Add the leaves from 2 sprigs of rosemary, 6 whole black peppercorns and a couple of bay leaves and then pour in 750ml English dry cider.", "Bring to the boil, lower the heat and simmer for 40 minutes.", "Salt and generously pepper the reserved chicken skin, then put it under a hot grill until crisp.", "Using a fork, crush half the potato pieces into the sauce, leaving the others whole.", "Serve the meat, sauce and potatoes in a shallow bowl, topped with the crisped chicken skin, with a spoon for the sauce.", "Lightly cooked shredded green cabbage on the side.", "Dice a little onion, carrot and celery to the size of Dolly Mixtures, then toss them in a bowl with 4 crushed cloves of garlic, the leaves from 3 or 4 bushy sprigs of thyme and a couple of glasses of sweet Muscat wine.", "Add 4 chicken breasts or thighs and leave to marinate for a good hour or more.", "Place the chicken under a hot overhead grill, 10-12cm from the heat, spooning over the marinade as it cooks.", "It is ready when the juices run clear when the meat is pierced with a skewer.", "Remove the skin from 2 chicken legs or 4 thighs or drumsticks.", "Lay it on a baking tray, season lightly, then bake or grill till crisp and deep gold.", "Drain on kitchen paper and break it into small pieces.", "Dress 2 handfuls of soft butterhead lettuce with olive oil, Dijon mustard and lemon.", "Generously season the crisp chicken skin with sea salt flakes, then tuck it amongst the soft leaves.", "French bread. Cold butter." ], "author": null }
- Assistant
{ "data": "GB" }