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": "Algerian Style Whole Chicken w/\nOrzo", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 whole chicken (or 6-8 pieces bone-in\nchicken)", "3/4-1 C. canned chick-peas", "2 tbsps ghee", "1/4 tsp black pepper", "1/2-3/4 tsp cinnamon", "1 tsp tomato puree, concentrate", "2 onions, chopped finely", "1-2 garlic clove, minced", "1/2 tsp ras el hanout spice mix", "salt", "3-4 eggs", "500 g orzo pasta", "1 chicken stock cube", "olive oil" ] } ], "instructions": [ "1. In a large pan, melt the ghee and stir fry the chicken, onions, ras el hanout, cinnamon and\nblack pepper for about 10 minutes.", "2. Stir in the chickpeas, tomato puree, chicken cube and required amount of water that\ncovers the mixture and cook, covered on medium heat for about 90 minutes.", "3. Meanwhile in a heatproof bowl, mix together pasta, 1/2 C. of water and a little bit of oil.", "4. Arrange the bowl in the steamer and steam for about 15 minutes.", "5. Remove from the steamer and use a little water to separate the pasta.", "6. In a pan of the water, hard boil the eggs and then peel and half them.", "7. In another large pan, add the pasta and gradually, add sauce from chicken mixture and\ncook till the pasta is done completely. (The mixture should be moist)", "8. Transfer the pasta into the serving platter.", "9. Top with the chicken pieces, followed by egg halves and remaining pan sauce.", "10. Serve with the crusty bread and green salad." ], "author": null }
- Assistantjson
{ "data": "DZ" }