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": "Lamb Tagine Tunisian", "description": null, "subtitle": null, "ingredients": [ { "section": "Meat", "ingredients": [ "2 tbsp olive oil", "2 medium onions, finely chopped", "1/2 lb ground lamb", "4 garlic cloves, crushed", "1 tbsp ground coriander", "salt and pepper, to taste", "chili powder, to taste" ] }, { "section": "Lower layer (1/3 of meat base and)", "ingredients": [ "2 lbs spinach (blanches, squeezed and\nchopped)", "3 eggs, lightly beaten" ] }, { "section": "Middle layer (1/3 of meat base and)", "ingredients": [ "3-4 oz. gruyere, cheese", "6 oz. fresh ricotta cheese", "3 eggs, lightly beaten" ] }, { "section": "Upper layer (1/3 of meat base and)", "ingredients": [ "1 C. parsley, fresh, chopped", "3 eggs, lightly beaten" ] } ], "instructions": [ "1. Set your oven to 350 degrees F before doing anything else and grease a 10-15-inch\nbaking mold with 1 tbsp of the olive oil and place in the oven.", "2. For meat base in a skillet, heat the remaining oil and sauté the onion till tender.", "3. Stir in lamb and cook till done completely.", "4. Remove from heat and immediately, stir in the remaining ingredients.", "5. Divide the lamb mixture in 3 portions.", "6. For lower layer in a bowl, mix together the all ingredients and the first portion of the\nmeat mixture.", "7. Remove the heated mold from oven.", "8. Place the lower layer mixture in heated mold evenly and with the back of a spoon,\nsmooth the surface.", "9. Cook in the oven for about 10 minutes.", "10. Meanwhile for middle layer in a bowl, mix together all the ingredients and the second\nportion of meat mixture.", "11. Remove the mold from oven and place the second layer mixture over the first layer.", "12. With the back of a spoon, smooth the surface and cook in the oven for about 10 minutes.", "13. Meanwhile for upper layer in a bowl, mix together all the ingredients and the third\nportion of the meat mixture.", "14. Remove the mold from oven and place the upper layer mixture over middle layer.", "15. With the back of a spoon, smooth the surface and cook in the oven for about 10-15\nminutes more.", "16. Remove from the oven and keep aside for about 20 minutes before slicing." ], "author": null }
- Assistantjson
{ "data": "TN" }