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": "Tunisian Puff Pastry (Brik)", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 oz. butter, melted", "1 small onion, finely chopped", "6 1/2 oz. tuna in vegetable oil, drained", "1 tbsp capers, rinsed and chopped", "2 tbsp flat leaf parsley, finely chopped", "2 tbsp parmesan cheese, grated", "6 sheets phyllo pastry", "2 small eggs" ] } ], "instructions": [ "Set your oven to 400 degrees F before doing anything else and lightly, grease a baking dish.", "For filling in a small frying pan, melt the butter on low heat and sauté the onion for about 5 minutes.", "In a large bowl, mix together the cooked onion, Parmesan, tuna, capers, parsley, salt and black pepper.", "Cut the pastry sheets in half in width.", "Coat the four of the half sheets with the melted butter and place in a layer.", "Cover the remaining pastry sheets with the damp cloth before using.", "Place half of the tuna mixture over one end of the buttered pastry, leaving the edges.", "Make a well in the middle of the filling and carefully, break 1 egg in the well and sprinkle with the salt and black pepper.", "Place 2 more sheets in a layer and coat with butter.", "Arrange these 2 buttered sheets over filling and fold the sides and then roll into a parcel, keeping the sides intact.", "Repeat with the remaining pastry sheets, filling and the egg.", "Arrange the pastries onto prepared baking dish in a single layer and cook in the oven for about 15 minutes." ], "author": null }
- Assistant
{ "data": "TN" }