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": "Bobotie", "description": "Bobotie, a well-known South African dish similar to the French Hachis Parmentier, is traditionally made with meat. It's a very comforting dish, both sweet and salty from the presence of dried fruits. It's typically served with Geelrys (South African Yellow Rice with Raisins) and vegetables. Bobotie was brought to Africa in the seventeenth century from Indonesia and adapted by the Cape Malays, descendants of slaves and political deportees from Indonesia and Malaysia", "subtitle": "South African Casserole", "ingredients": [ { "section": "For the recipe", "ingredients": [ "Vegetable oil", "1½ cups (300 g) green lentils", "2 onions, minced", "3 carrots, chopped", "1 cup (115 g) walnuts, chopped", "2 apples, grated", "1 cup (150 g) raisins", "3 tablespoons apricot jam", "2 garlic cloves, minced", "1 tablespoon soy sauce", "2 teaspoons ground cinnamon", "2 teaspoons ground cumin", "1½ teaspoons black pepper", "½ teaspoon ground cloves", "½ teaspoon paprika", "½ teaspoon ground turmeric", "Juice of 1 lemon", "Zest of 1 lemon", "2 slices whole wheat bread", "¼ cup (180 ml) plant milk (like almond or soy)", "Salt" ] }, { "section": "SAUCE", "ingredients": [ "¼ cup (90 g) chickpea flour", "1 teaspoon baking powder", "½ teaspoon ground turmeric", "¼ teaspoon salt", "1 cup (240 ml) plant milk", "2 bay leaves" ] } ], "instructions": [ "Preheat the oven to 350°F (180°C). Grease a baking dish with oil.", "Place the lentils in a medium pot and with 4 cups (960 ml) water. Bring to a boil, reduce the heat to a very low simmer, and cook the lentils until tender but not mushy, 18 to 20 minutes. Drain and set aside to cool. When cooled, mash them and stir with a fork to form a slightly rough texture.", "Heat a thin layer of oil in a frying pan over medium heat. Add the onions and cook until translucent, 5 minutes. Mix the carrots and walnuts together in a medium bowl, then add them to the pan, along with the lentils. Stir to combine and cook the mixture until softened, 5 minutes.", "Add the apples, raisins, jam, garlic, soy sauce, cinnamon, cumin, black pepper, cloves, paprika, and turmeric. Add the lemon juice, lemon zest, and salt to taste. Reduce the heat to low and cook the lentil mixture until the liquid has evaporated, 5 minutes.", "Soak the bread slices in the milk. When the slices are soft, use a fork to transfer them to the pan. Stir gently to incorporate them into the lentil mixture. Transfer the mixture to the baking dish, then pack and smooth the surface.", "To make the sauce, mix together the flour, baking powder, turmeric, and salt in a small bowl, then slowly stir in the milk. Pour it over the lentil mixture, add the bay leaves, and bake in the oven for 20 to 30 minutes, until golden brown." ], "author": null }
- Assistant
{ "data": "ZA" }