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": "Sweet and Zesty Chicken Stew", "description": null, "subtitle": null, "ingredients": [ { "section": "For the marinade", "ingredients": [ "1/4 C. fresh lemon juice", "2 tbsp honey", "2 garlic cloves, crushed", "1 tsp ground turmeric", "1 tsp ground cumin", "1 tsp ground cinnamon", "1/4 tsp cayenne pepper" ] }, { "section": "For the chicken", "ingredients": [ "8 large skinless chicken breasts", "8 wedges preserved lemons" ] }, { "section": "For the couscous", "ingredients": [ "1 1/2 C. chicken stock", "1/3 C. slivered almonds", "2 tsp olive oil", "1 small yellow onion, halved, finely chopped", "1 small red Chile, deseeded, finely chopped", "1 C. couscous", "1/3 C. currants", "1/3 C. fresh coriander leaves, firmly packed" ] } ], "instructions": [ "Get a casserole dish: mix in it the lemon juice, honey, garlic. Turmeric, cumin, cinnamon and cayenne pepper.", "Place the chicken in the casserole and coat it with the mix. Cover it with a plastic wrap and place it in the fridge for 3 to 8 h.", "Before you do anything preheat the oven to 360 F.", "Drain the chicken from the marinade and reserve it. Place the chicken in a roasting pan and place the preserved lemon on it.", "Place it in the oven to cook for 22 min.", "Pour 1/2 C. of stock with the reserved marinade in a large pan. Cook them until they start boiling. Keeps it boiling for 6 min until it thickens?", "Place a small skillet over medium heat. Toast in it the almonds for 3 min. place them aside.", "Heat the oil in the same pan then cook in it the onion with chili for 3 min.", "Stir in the rest of the stock then cook them until they start boiling.", "Turn off the heat and combine in the couscous. Put on the lid and let it sit for 6 min.", "Fluff the couscous with a fork then pour the thick marinade on it. Stir in the almonds and currants. Cook them for 3 min over low heat.", "Turn off the heat then serve your couscous warm with the roasted chicken.", "Enjoy." ], "author": null }
- Assistant
{ "data": "WAF" }