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 Bacon, Egg, and Sweet Potato Salad", "description": "The flavors of this colorful salad balance so beautifully-the sweetness of the potatoes, smokiness of the bacon, and richness of the eggs are all wrapped up in a vinegary mustard dressing and served on peppery arugula with the crunch of toasted walnuts. The salad is best served just slightly warm or at room temperature.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "½ cup slivered red onion", "½ cup cider vinegar", "½ teaspoon coarse salt", "6 strips Whole30-compliant bacon, chopped", "1 to 1% pounds sweet potatoes, peeled and cut into 1-inch cubes", "8 large eggs", "2 teaspoons Whole30-compliant coarse-grain mustard", "½ cup avocado oil or walnut oil", "6 cups arugula, tough stems trimmed", "½ cup chopped walnuts, toasted (see Tip)" ] } ], "instructions": [ "In a small bowl, toss together the onion, vinegar, and 1/4 teaspoon of the salt.", "Cover and let stand at room temperature while preparing the salad.", "On a 6-quart Instant Pot, select Sauté and adjust to Normal/Medium.", "Add the bacon. Cook, stirring occasionally, until the bacon is crisp, about 8 minutes.", "Press Cancel.", "Use a slotted spoon to transfer the bacon to paper towels to drain.", "Crumble the bacon when cool enough to handle.", "Carefully pour 1 cup water into the bacon grease in the pot.", "Add the sweet potatoes and place the eggs on the potatoes (the eggs should not touch each other).", "Lock the lid in place.", "Select Manual and cook on high pressure for 5 minutes.", "Use quick release.", "Meanwhile, combine water and ice in a large bowl to fill halfway.", "Carefully transfer the eggs to the ice water to cool, about 10 minutes.", "Use a slotted spoon to transfer the sweet potatoes to another large bowl; set aside.", "Peel the eggs and thinly slice or cut into halves or quarters.", "Drain the onion, reserving the vinegar.", "In a medium bowl, whisk together 1/4 cup of the vinegar, the mustard, and remaining 1/4 teaspoon salt.", "Slowly whisk in the oil until the dressing is well combined and thickened.", "Drizzle the potatoes with about 1/4 cup of the dressing.", "Toss gently to coat.", "To serve, divide the arugula among four serving plates.", "Top with the sweet potatoes, eggs, drained onion, and bacon.", "Drizzle with the remaining dressing.", "Sprinkle with the walnuts." ], "author": null }
- Assistant
{ "data": "WWW" }