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": "CHICKEN TACO SALAD", "description": "A mixture of lime zest, lime juice, cilantro, and salt provides the base for flavoring both the chicken and the dressing. Chili powder and cumin are added to the seasoning for the chicken-and a splash of olive oil is added to make the dressing.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 tablespoon minced fresh cilantro", "1 teaspoon grated lime zest", "1/4 cup fresh lime juice", "½ teaspoon salt", "1 medium onion, cut into wedges", "1½ pounds bone-in chicken thighs, skin removed", "1 tablespoon chili powder", "1 teaspoon ground cumin", "2 tablespoons extra-virgin olive oil", "8 cups torn romaine lettuce", "1 medium tomato, chopped", "1 avocado, halved, pitted, peeled, and thinly sliced", "Chopped fresh cilantro, for serving (optional)" ] } ], "instructions": [ "IN a small bowl, combine the cilantro, lime zest, lime juice, and salt until well blended.", "Divide the lime juice mixture into two small bowls; set aside.", "IN a 3½- to 4-quart slow cooker, layer the onion and chicken thighs.", "To one of the bowls of the lime juice mixture, add the chili powder and cumin and pour over the chicken and onions.", "Cover and refrigerate the remaining lime juice mixture for the dressing.", "COVER and cook on low for 5 to 6 hours or on high for 2½ to 3 hours.", "Transfer the chicken and onions to a cutting board.", "Using two forks, pull the chicken apart into large shreds.", "MEANWHILE, whisk the olive oil into the reserved lime juice mixture until well combined.", "LAYER the lettuce, chicken, onions, tomato, and avocado on serving plates.", "Drizzle with the dressing and top with cilantro, if desired." ], "author": null }
- Assistant
{ "data": "WNA" }