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": "Egusi Stew", "description": "Egusi Stew is a Nigerian dish traditionally served with "swallows," a starchy paste made of pounded yam, cassava, plantain, fufu, or other foods. Egusi is eaten with your hands, using a swallow to scoop up the stew. You can replace the swallow with rice, yam, or plantains.", "subtitle": "African Pistachio Stew", "ingredients": [ { "section": "For the recipe", "ingredients": [ "3 tomatoes, chopped", "1 bell pepper, chopped", "½ Scotch bonnet pepper or small sweet pepper, seeds removed", "3 garlic cloves, chopped", "2 tablespoons red palm oil", "1 large yellow onion, chopped", "3.5 ounces (100 g) egusi (African pistachios), ground", "1 cup (240 ml) vegetable stock", "1 tablespoon paprika", "1 teaspoon curry powder", "1 tablespoon tomato paste", "1 teaspoon dried thyme", "18 ounces (510 g) fresh spinach", "4 ounces (113 g) oyster mushrooms (optional)", "Salt", "Black pepper" ] } ], "instructions": [ "Place the tomatoes, bell pepper, Scotch bonnet pepper, and garlic in a food processor and process to form a smooth paste. If necessary, add a splash of water.", "Heat the oil in a large pot over medium heat. Add half of the chopped onion and cook until translucent, 5 minutes. Add the tomato mixture, paprika, curry powder, tomato paste, and thyme. Stir, cover, and cook until thickened, 15 minutes.", "Meanwhile, mix the egusi, the remaining chopped onion, and ½ cup of the vegetable stock together in a medium bowl.", "Add the egusi mixture to the pot and cook until thickened, 10 minutes. Add the spinach, mushrooms, if using, and remaining ½ cup of vegetable stock. Add salt and pepper to taste, reduce the heat to low, cover the pot, and simmer until creamy, 10 minutes. Enjoy hot." ], "author": "" }
- Assistant
{ "data": "NG" }