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": "Ponyo's Ham Ramen", "description": "Ponyo's Ham Ramen is a beloved dish from the Studio Ghibli film Ponyo. This comforting ramen, made by Lisa for her son Sosuke and Ponyo, is a fan favorite, evoking both delicious taste and heartwarming nostalgia.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 egg", "Ice cubes, for ice bath", "2 packs chicken-flavored instant ramen (or flavor of choice)", "Boiling water, to cook the ramen noodles", "4 slices ham", "2 scallions, thinly chopped" ] } ], "instructions": [ "To make a soft-boiled egg, bring a small pot of water to a boil with enough water to submerge the egg.", "Once boiling, reduce the heat to medium, place the egg on a spoon with a long handle and carefully place it in the water onto the bottom of the pot.", "Set a timer for 6 minutes and 30 seconds.", "Using the same spoon, carefully turn the egg by pushing it gently. Turn the egg every minute to make sure the egg yolk is centered when sliced open.", "In a small bowl, prepare an ice bath with some cold water and the ice cubes.", "When the timer beeps, transfer the egg to the ice bath to stop the cooking process.", "Peel the eggshell within the first 5 minutes to make it easier to remove. Start by cracking the egg at its base, the wider side, then start peeling.", "Place the peeled egg on a cutting board and slice in half lengthwise with a sharp knife.", "To assemble: Set out two ramen bowls and empty a package of instant ramen and its seasoning packet into each bowl.", "Slightly crush the noodles if you want your ramen to be like Ponyo's version.", "Add just enough boiling water to submerge the noodles in each bowl, then cover the bowls with a larger plate or bowl for 3 minutes.", "Remove the covers, stir, and add the toppings to each bowl: 2 slices of ham, a sprinkle of scallions, and half of a soft-boiled egg.", "Serve hot." ], "author": null }
- Assistantjson
{ "data": "WAS" }