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": "Instant Pot Chicken Tinga", "description": "", "subtitle": "This classic Mexican shredded chicken tostada topping/taco filling gets smoky heat from chipotle powder. A small amount of cinnamon adds just a hint of sweetness.", "ingredients": [ { "section": "For the sauce", "ingredients": [ "1 medium yellow onion, chopped", "1 can (14.5 ounces) Whole30-compliant fire-roasted tomatoes, undrained", "1 cup Whole30-compliant chicken broth or Chicken Bone Broth (page 294)", "2 cloves garlic", "1½ teaspoons chipotle powder", "1 teaspoon dried oregano", "1 teaspoon salt", "½ teaspoon ground cumin", "1/4 teaspoon ground cinnamon" ] }, { "section": "For the recipe", "ingredients": [ "2½ pounds bone-in chicken thighs, skin removed (see Tip, page 169)", "2 packages (12 ounces each) frozen riced cauliflower and sweet potato", "1 avocado, halved, pitted, peeled, and sliced", "1 lime, cut into wedges" ] } ], "instructions": [ "FOR the sauce, in a blender, combine the onion, tomatoes, broth, garlic, chipotle powder, oregano, salt, cumin, and cinnamon.", "Cover and blend until smooth.", "Add the sauce to a 6-quart Instant Pot.", "Add the chicken to the sauce.", "Lock the lid in place.", "SELECT Manual and cook on high pressure for 10 minutes.", "Use natural release.", "MEANWHILE, prepare the riced cauliflower and sweet potato according to the package directions.", "TRANSFER the chicken to a plate; let cool slightly.", "Remove and discard the bones.", "Use two forks to shred the chicken.", "Return the chicken to the pot and stir to coat.", "SERVE the chicken and sauce in shallow bowls with the cauliflower-sweet potato mixture.", "Serve with the avocado slices and lime wedges." ], "author": "" }
- Assistant
{ "data": "MX" }