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": "Spinach Pesto Noodle Bowl", "description": "Basil pesto often steals the spotlight, but for a supernutritious, not-too-oily pesto that can take on fresh flavors in a bowl, we love using spinach instead of basil.", "subtitle": "", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 tablespoon extra-virgin olive oil", "1 small onion, chopped fine", "1 garlic clove, minced", "Pinch red pepper flakes", "5 ounces (5 cups) baby spinach", "Table salt", "6 ounces spaghetti", "¼ cup grated Parmesan cheese", "1 teaspoon lemon juice", "1 cup drained jarred whole baby artichoke hearts packed in water, quartered", "1 cup Sautéed Cherry Tomatoes (this page), warmed", "1 tablespoon chopped fresh basil" ] } ], "instructions": [ "Heat oil in 12-inch nonstick skillet over medium heat until shimmering.", "Add onion and cook until softened and lightly browned, 5 to 7 minutes.", "Stir in garlic and pepper makes and cook until fragrant, about 30 seconds.", "Add spinach, one handful at a time, and ½ teaspoon salt and cook until wilted, about 2 minutes.", "Meanwhile, bring 2 quarts water to boil in large saucepan.", "Add pasta and 1 tablespoon salt and cook, stirring often, until tender.", "Reserve ½ cup cooking water, then drain pasta and return it to pot.", "Transfer spinach mixture to food processor along with Parmesan, lemon juice, and 1/4 cup reserved cooking water.", "Process until smooth, about 1 minute, scraping down sides of bowl as needed.", "Add spinach puree and artichokes to pot with pasta and stir to coat.", "Adjust consistency of sauce with remaining 1/4 cup reserved cooking water as needed and season with salt and pepper to taste.", "Divide among individual serving bowls then top with tomatoes and sprinkle with basil.", "Serve." ], "author": "" }
- Assistant
{ "data": "IT" }