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 Stuffed Grape Leaves (Dolmas Dalya)", "description": null, "subtitle": null, "ingredients": [ { "section": "Dolmas", "ingredients": [ "50 grape leaves", "1 large red pepper, chopped finely", "1 large red vine-ripened tomatoes, chopped finely", "1/2 large onion, chopped finely", "4 garlic cloves, minced", "1 1/2 C. basmati rice", "1 tsp paprika", "1/2 tsp cinnamon", "1/2 tsp ras el hanout spice mix", "1 tbsp olive oil", "4 tbsps water", "salt and black pepper" ] }, { "section": "Topping", "ingredients": [ "1/2 large onion", "1 large vine-ripened tomatoes", "2 garlic cloves, minced", "1/2 tsp cinnamon", "1 chicken stock cube", "1 liter water", "1 tsp lemon juice", "salt and black pepper" ] } ], "instructions": [ "1. For the preparation of fresh vine leaves, wash them and then trim the stalks.", "2. In a lightly salted boiling water, blanch the leaves for about 15 minutes.", "3. Rinse the leaves then drain well and keep aside.", "4. For filling in a large skillet, heat a little oil and stir fry the pepper, onion, tomatoes and garlic for about 4 minutes.", "5. Stir in the all spices and cook for about 30 seconds.", "6. Remove from heat and immediately, stir in rice, water and olive oil and keep aside.", "7. Arrange the leaves onto a smooth surface.", "8. Pace about the 1 tsp of the filling mixture in the bottom center of each leaf.", "9. First, fold the left corner over filling and then the right one.", "10. Gently roll the leaf to secure the filling.", "11. In a larger pan, place the rolls in 2-3 layers.", "12. Place a large heatproof plate over the rolls.", "13. In a bowl, mix together all sauce ingredients and then place over rolls evenly.", "14. Cook, covered on medium heat for about 25 minutes.", "15. Serve these rolls with a drizzling of lemon juice." ], "author": null }
- Assistantjson
{ "data": "DZ" }