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": "Moroccan Chicken Raisins Stew", "description": null, "subtitle": null, "ingredients": [ { "section": "Ingredients", "ingredients": [ "3 -5 tbsp oil", "4 lbs chicken thighs", "Salt and pepper", "1 large onion, chopped", "2 tbsp fresh minced garlic", "1 tbsp cumin", "1 tbsp turmeric", "1 tsp paprika", "1/2 tsp cinnamon", "2 tsp grated lemon zest", "1 tbsp flour", "3 C. chicken broth", "3 tbsp honey", "1 1/2 C. chickpeas, rinsed and\ndrained", "1/2 C. dark raisin", "Cooked rice" ] } ], "instructions": [ "1. Place a stew pot over medium heat. Heat the oil in it.", "2. Place the chicken thighs in the pot and sprinkle a pinch of salt and pepper over them.\nCook them until they become brown on all sides.", "3. Drain the chicken thighs and place them aside. Stir in the garlic with onion into the same\npot. Cook them for 6 min.", "4. Combine in the cumin, turmeric, paprika and cinnamon. Let them cook for 40 sec while\nstirring all the time.", "5. Add the broth, honey, lemon zest and flour then combine them well. Place the chicken\nthighs back in the pot then put on the lid and let them cook for 16 min.", "6. Once the time is up, add the raisins and cook them stew for 18 min without covering it.", "7. Combine in the chickpeas and cook the stew for an extra 6 min. serve it warm.", "8. Enjoy." ], "author": null }
- Assistant
{ "data": "MA" }