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 with Tamarind Sauce", "description": null, "subtitle": null, "ingredients": [ { "section": "For the Kefta", "ingredients": [ "1/2 teaspoons ground cumin", "1/2 teaspoon freshly ground black pepper", "1 teaspoon paprika", "1 teaspoon cayenne pepper", "1 tablespoon coarse salt", "2 pounds ground lamb", "3/4 cup finely chopped onion", "6 garlic cloves, finely chopped", "1/4 cup finely chopped fresh mint leaves", "1/4 cup finely chopped fresh Italian parsley", "2 tablespoons canola or vegetable oil" ] }, { "section": "For garnish", "ingredients": [ "6 sprigs of fresh mint" ] } ], "instructions": [ "Preheat oven to 375°F.", "Combine cumin and black pepper in a medium nonstick skillet. Heat over medium-high heat, stirring constantly until spices become fragrant and the pan just begins to smoke.", "Remove from heat immediately and transfer spices to a plate to cool.", "Combine toasted spices, paprika, cayenne, and salt. Mix well to combine.", "In a large bowl, combine ground lamb, spice mixture, onion, garlic, mint, and parsley. Mix thoroughly until well combined.", "Divide mixture into 18 portions and roll each portion into a ball. The Kefta should be about 2 inches in diameter.", "In a large straight-sided skillet, heat canola oil over medium-high heat. When oil begins to simmer, add kefta, being careful not to overcrowd the pan. You will have to cook in 2 or 3 batches. Brown kefta on all sides, using tongs to turn as needed.", "When completely browned, remove kefta to a rimmed baking sheet. Continue to cook remaining kefta in batches, until all have been browned.", "Place baking sheet in oven and cook until kefta are firm, 5 to 7 minutes. Cut one kefta in half to determine doneness. It should be faintly pink to completely cooked through in the center.", "Meanwhile, remove excess oil from skillet. Then add sauce to the skillet and cook over low heat, stirring occasionally and scraping the bottom of the skillet to incorporate all of the browned bits into the sauce.", "When kefta are cooked to desired doneness, remove from oven and, using tongs, add to the skillet with the sauce. Stir gently to cover all of the kefta with the sauce.", "Simmer over low heat for 3 to 5 minutes." ], "author": null }
- Assistantjson
{ "data": "MA" }