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 Tortilla Soup with Chard", "description": "A flavorful broth, tender chicken, subtle heat, and crispy tortilla strips make chicken tortilla soup a Mexican classic. Swiss chard adds satisfying bulk to the soup. Chipotle chiles and adobo sauce lend warm, spicy heat.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 tablespoon vegetable oil", "1 onion, chopped fine", "¼ teaspoon table salt", "1 (14.5-ounce) can diced tomatoes, drained", "1 tablespoon tomato paste", "2 teaspoons minced canned chipotle chile in adobo plus 1-3 teaspoons adobo sauce", "2 garlic cloves, minced", "8 cups chicken broth", "1½ pounds boneless, skinless chicken breasts, trimmed", "12 ounces Swiss chard, stemmed and chopped coarse", "1 recipe Crispy Tortilla Strips" ] } ], "instructions": [ "Heat oil in Dutch oven over medium heat until shimmering.", "Add onion and salt and cook until just beginning to soften, about 3 minutes.", "Stir in tomatoes, tomato paste, and chipotle plus adobo sauce and cook until onion is softened and mixture has darkened, 5 to 7 minutes.", "Stir in garlic and cook until fragrant, about 30 seconds.", "Add broth and chicken to pot, cover, and bring to boil.", "Reduce heat to medium-low and simmer until chicken registers 160 degrees, 12 to 14 minutes.", "Transfer chicken to plate and let cool slightly.", "Meanwhile, stir chard into broth and cook until chard is mostly tender, about 5 minutes.", "Once chicken is cool enough to handle, shred into bite-size pieces using 2 forks.", "Stir chicken into broth and cook until chicken is warmed through and chard is fully tender, about 5 minutes.", "Season soup with salt to taste.", "Divide tortilla strips among individual serving bowls and ladle soup over top.", "Serve." ], "author": null }
- Assistantjson
{ "data": "MX" }