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": "Ramen Zoodle Bowl", "description": "For a lighter spin on a Japanese ramen bowl, we swapped out traditional ramen noodles for zucchini noodles, which turned perfectly tender after just one minute in the hot broth. For a simple broth full of rich flavors, we infused store-bought chicken broth with sesame oil, miso, and ginger.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 tablespoon vegetable oil", "4 ounces shiitake mushrooms, stemmed and sliced thin", "3 scallions, white parts cut into 1-inch lengths, green parts sliced thin", "2 tablespoons white miso", "2 teaspoons grated fresh ginger", "3 cups chicken or vegetable broth", "1 cup water", "2 ounces (2 cups) baby spinach", "2 tablespoons toasted sesame oil", "12 ounces spiralized zucchini noodles", "2 ounces enoki mushrooms, trimmed" ] } ], "instructions": [ "Heat vegetable oil in large saucepan over medium heat until just smoking.", "Add shiitake mushrooms and scallion whites and cook until lightly browned and tender, about 5 minutes.", "Stir in miso and ginger and cook until fragrant, about 30 seconds.", "Stir in broth and water and bring to simmer.", "Stir in spinach and cook until just wilted, about 15 seconds.", "Stir in sesame oil and season with salt and pepper to taste.", "Divide noodles among individual serving bowls and ladle hot broth over top; let sit for 1 minute.", "Top with enoki mushrooms and scallion greens.", "Serve." ], "author": null }
- Assistantjson
{ "data": "JP" }