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": "Chicken Mole Soft Tacos", "description": "Mole is a chocolate-based sauce from Oaxaca, Mexico. It is traditionally dependent on peanuts or tree nuts, and sometimes sesame seeds, making this dish off-limits to those with nut and/or sesame allergies. But with the advent of sunflower seed butter, it is no longer forbidden. This recipe was taste-tested by my kids, who couldn't believe their luck at actually being allowed to eat chocolate for dinner!", "subtitle": "A delicious Mexican dish with a chocolate-based sauce.", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "2 tablespoons canola oil", "½ cup diced yellow onion", "1 clove garlic, minced or pressed", "2 tablespoons chili powder", "¼ teaspoon ground cinnamon", "1 teaspoon ground cumin", "1 teaspoon ancho chile powder", "1 cup chicken broth", "1 (15-ounce) can fire-roasted tomatoes", "3 tablespoons raisins", "2 tablespoons sunflower seed butter", "½ teaspoon salt", "3/4 ounce dark allergy-free chocolate", "3 cups shredded cooked chicken", "16 small (4½-inch) soft corn tortillas", "Diced tomato (optional)", "Chopped onion (optional)", "Diced avocado (optional)", "Chopped cilantro" ] } ], "instructions": [ "Heat the oil in a large heavy saute pan over medium heat. Add the onion and garlic and cook, stirring often, for 2 minutes, or until slightly tender.", "Add the chili powder, cinnamon, cumin, and ancho chile powder and cook for about 30 seconds more. Add the chicken broth, tomatoes, raisins, sunflower seed butter, and salt, and simmer for about 15 minutes over medium heat, stirring often. Add the chocolate, stir a few times to dissolve it, transfer the sauce to a food processor and puree. Return the sauce to the pan. Add the shredded chicken and stir, then bring to a simmer over medium heat, reduce the heat to low, and simmer for about 5 minutes, or until heated through.", "Stack the tortillas between two paper towels and microwave for about 30 seconds to warm them.", "To assemble, take a warmed tortilla, put about 2 tablespoons of chicken mole in the center, top with the garnishes of your choice, and add a sprinkle of chopped cilantro." ], "author": "" }
- Assistantjson
{ "data": "MX" }