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": "Creamy Corn Bucatini Bowl", "description": "Why This Recipe Works with just seven ingredients, this creamy pasta bowl delivers on fresh, summery flavor thanks to a rich sauce made using corn kernels and milk. To start, we took kernels off the cob, reserving some to add crunchy contrast and using the rest to make our sauce.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 ¾ cups fresh or thawed frozen corn kernels, divided", "¾ cup whole milk", "6 ounces bucatini", "¼ teaspoon table salt, plus salt for cooking pasta", "¼ teaspoon red pepper flakes", "3 ounces (½ cup) whole-milk ricotta cheese", "2 tablespoons chopped fresh basil" ] } ], "instructions": [ "Bring 2 cups corn and milk to simmer in 12-inch skillet over medium heat.", "Carefully transfer corn and milk to blender and let cool slightly, about 5 minutes.", "Process until smooth, about 3 minutes, scraping down sides of blender jar as needed.", "Strain corn mixture through fine-mesh strainer into now-empty skillet, pressing on solids to extract as much liquid as possible.", "Meanwhile, bring 2 quarts water to boil in large saucepan.", "Add pasta and 1 tablespoon salt and cook, stirring often, until pasta is nexible but still firm, about 5 minutes.", "Reserve ¾ cup cooking water, then drain pasta.", "Stir pasta, ½ cup reserved cooking water, salt, and pepper flakes into corn mixture in skillet.", "Cook over medium heat, stirring constantly, until pasta is tender and well coated, 3 to 5 minutes.", "Adjust consistency with remaining reserved cooking water as needed and season with salt and pepper to taste.", "Divide among individual serving bowls, then dollop with ricotta and sprinkle with basil and remaining 1/4 cup corn.", "Serve." ], "author": null }
- Assistantjson
{ "data": "IT" }