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": "Spatchcock Chicken, Rocket, Couscous", "description": "Couscous plumped up with the roasting juices and pan crustings. No flavours go to waste.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "chicken", "rocket", "couscous", "lemon", "young garlic", "chicken stock", "thyme", "4 tablespoons of olive oil", "salt", "pepper", "3 or 4 thyme sprigs", "8 thyme sprigs", "1 head of young garlic", "500ml chicken stock", "250g couscous", "100g rocket leaves" ] }, { "section": "Sesame and mirin", "ingredients": [ "chicken drumsticks", "butter", "salt", "pepper", "toasted sesame oil", "mirin", "sesame seeds" ] }, { "section": "Orange and sherry vinegar", "ingredients": [ "sherry vinegar", "freshly squeezed orange juice", "melted butter", "chicken thighs or a spatchcocked chicken", "orange shells" ] } ], "instructions": [ "Set the oven at 200°C/Gas 6.", "Place a medium-sized chicken on a chopping board and using a heavy, sharp knife cut through the backbone and open the chicken out flat.", "(If you don't fancy doing this yourself, you can ask the butcher to do it.)", "Place the chicken, skin-side up, in a roasting tin.", "In a small bowl or jar, mix 4 tablespoons of olive oil and the juice of a lemon (keep the empty shells).", "Season with salt and pepper, then add the leaves from 3 or 4 thyme sprigs.", "Spoon or pour the oil mixture over the chicken then add a further 8 or so thyme sprigs.", "Cut a head of young garlic in half and tuck the halves in around the meat, together with the empty lemon shells.", "Roast the chicken for no longer than 45 minutes, by which time the skin should be golden brown and the juices should run clear when pierced with a skewer in the thickest part of the flesh.", "Remove the roasting tin from the oven and put the chicken on a warm plate, covered with foil, to rest.", "Tip 500ml chicken stock into the roasting tin and gently scrape at the roasting sediment left in the tin, letting it dissolve in the stock, then tip in 250g couscous, spread fairly evenly, cover the tin tightly with foil or a cloth and leave to swell for 10 minutes.", "Wash 100g rocket leaves then mix them into the couscous with a fork, loosening the grains as you fold the leaves in.", "Add a little salt and pepper as you think fit and perhaps a little lemon juice to taste.", "Cut the chicken into pieces and serve with the rocket couscous." ], "author": null }
- Assistant
{ "data": "WWW" }