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 Kefta Benny", "description": null, "subtitle": "One of the most memorable meals Ky and I ever shared included a dish with lamb meatballs-it was unreal. Lamb is not a meat that's usually associated with brunch, but in my opinion, that mindset is so brunch circa 1997. For me, Brunch Life is all about thinking outside the box, and this recipe represents that mentality perfectly.", "ingredients": [ { "section": "Mediterranean Yogurt Sauce", "ingredients": [ "4 cloves garlic, unpeeled", "1 cup (250 mL) plain Greek yogurt", "1/4 cup (60 mL) finely chopped fresh curly parsley", "1 tablespoon (15 mL) olive oil", "Grated zest of 1 lemon", "Salt" ] }, { "section": "Lamb Kefta Patties", "ingredients": [ "1 pound (450 g) ground lamb", "1/2 cup (125 mL) diced white onion", "1 teaspoon (5 mL) salt", "½ teaspoon (2 mL) black pepper", "½ teaspoon (2 mL) smoked paprika", "½ teaspoon (2 mL) ground cumin", "½ teaspoon (2 mL) onion powder", "½ teaspoon (2 mL) garlic powder", "1/4 teaspoon (1 mL) turmeric", "1 tablespoon (15 mL) canola oil" ] }, { "section": "For Serving", "ingredients": [ "2 large pitas", "1 beefsteak tomato, sliced", "4 poached eggs (see this page)", "Grated lemon zest, for garnish" ] } ], "instructions": [ "Preheat the oven to 400°F (200°C).", "Place the garlic on a small baking pan and roast for 10 minutes.", "Remove the roasted garlic from the oven but do not turn the oven off.", "Allow the garlic to cool for a minute or two until it is cool enough to handle.", "Peel the garlic, then smash it with the back of a knife to form a paste.", "In a bowl combine the smashed garlic, yogurt, parsley, olive oil, and lemon zest.", "Season with a pinch of salt and set aside.", "In a medium bowl combine the ground lamb, onion, salt, pepper, paprika, cumin, onion powder, garlic powder, and turmeric.", "Mix well with your hands and form into 4 lamb patties.", "Pour the canola oil onto a paper towel and use it to grease an ovenproof grill pan.", "Heat the grill pan over high heat.", "Add the lamb patties and sear for 2 minutes on each side.", "Transfer the pan to the oven and roast for 6 minutes. This will cook your lamb patties to medium, so add 2 to 3 minutes if you prefer your lamb well-done.", "While the lamb patties are cooking, slice both pitas into quarters.", "Place these on a baking sheet and toast in the same oven you're cooking the lamb patties, for 2 to 3 minutes.", "To assemble, lay 2 crispy pita quarters on each plate.", "Top with a slice of tomato, a Lamb Kefta Patty, a poached egg, and a dollop of Mediterranean Yogurt Sauce.", "Garnish with lemon zest and serve any remaining sauce on the side." ], "author": null }
- Assistantjson
{ "data": "EG" }