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": "Omani Lentil Soup", "description": "The warming flavors of the Sultanate—black lime, coriander, cumin, cardamom, and cinnamon, along with a pinch of nutmeg and clove and a final drizzle of melted ghee—make this simple lentil soup utterly distinctive and delicious.", "subtitle": "The warming flavors of the Sultanate", "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 dried limes", "3 tablespoons ghee, plus more, melted, for serving", "3 medium red onions, minced", "3 cloves garlic, minced", "1 (½-inch) piece fresh ginger, peeled and minced", "3 plum tomatoes, cored and diced", "2 tablespoons tomato pasted", "3/4 teaspoon ground coriander", "3/4 teaspoon ground cumin", "½ teaspoon ground turmeric", "1/4 teaspoon ground cinnamon", "1/4 teaspoon ground black pepper", "1/4 teaspoon ground cardamom, plus more for serving", "½ teaspoon ground nutmeg", "½ teaspoon ground cloves", "2 teaspoons kosher salt, plus more for serving", "1 cup red lentils, rinsed in water a few times" ] } ], "instructions": [ "Scrub the limes and soak them in water for a few minutes to soften the skin.", "Make a small hole in each by piercing with a paring knife.", "Melt the ghee in a medium saucepan over medium-high heat.", "Sauté the onions in the ghee until they begin to brown, 10 to 12 minutes.", "Add the garlic and ginger, cook a few minutes, then add the tomatoes and cook a few minutes more.", "Stir in the tomato paste, dried limes, coriander, cumin, turmeric, cinnamon, black pepper, cardamom, nutmeg, and cloves; stir and cook 3 minutes.", "Add 5½ cups water, the salt, and the lentils.", "Turn the heat to high and bring to a boil; decrease the heat to medium and simmer until the lentils are well cooked, about 20 minutes.", "Remove the dried limes and, in a blender or using an immersion blender, purée the soup until smooth.", "Serve drizzled with melted ghee, a pinch of ground cardamom, and more salt to taste." ], "author": "" }
- Assistant
{ "data": "OM" }