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": "BULGUR STUFFED MEAT PATTIES", "description": null, "subtitle": null, "ingredients": [ { "section": "Kibbeh", "ingredients": [ "2 C. fine bulgur wheat", "1 lb ground lamb", "1 medium onion, chopped finely", "1 tsp ground cumin", "1 tsp allspice", "1 tsp Arabic seven spice", "1 pinch chili", "1/2 glass water" ] }, { "section": "For the filling", "ingredients": [ "half a pound ground lamb", "1 tbsp olive oil", "1 medium onion, chopped fine", "1 tbsp pine nuts", "1 tsp allspice", "1 tsp Arabic seven spice", "a few drops pomegranate juice", "salt & pepper" ] } ], "instructions": [ "For the crust in a large bowl of cold water, soak the bulgur for about 15 minutes.", "Drain well and with your hands, squeeze till the bulgur till it becomes soft.", "In a food processor, add the bulgur and lamb and pulse till a fine paste forms.", "Stir in the remaining ingredients and slowly, add the water pulsing till smooth.", "Transfer the mixture into a bowl and keep it aside.", "For the filling, in a pan, heat the oil and sauté the onions till tender.", "Stir in the pine nuts and cook till golden brown.", "Stir in the lamb and spices and stir fry till browned.", "With wet hands, make balls with 1/4 C. of the crust mixture.", "With your thumb, make a hole in the center of each ball.", "Fill the hole of each ball with about 1 tsp of filling mixture and roll the balls into an oval shape.", "For frying, in a large skillet, heat enough oil.", "Fry the patties till browned completely." ], "author": null }
- Assistantjson
{ "data": "LB" }