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 Ramen", "description": "This ramen is inspired by the movie Ponyo, where the main character, a fish-girl, tries ramen for the first time. It's a simple, yet satisfying dish made with instant noodles enhanced with flavorful broth, pork, eggs, and green onions.", "subtitle": "", "ingredients": [ { "section": "For the recipe", "ingredients": [ "8 cups water, divided", "1 cube chicken bouillon", "1 tablespoon crushed chicken bouillon cubes", "3 tablespoons soy sauce, divided", "2 tablespoons mirin", "1 teaspoon oyster sauce", "1 tablespoon sugar", "4 garlic cloves, divided", "Olive oil for cooking (or cooking oil of choice)", "9 ounces pork (such as boneless ribs)", "2 fresh eggs", "1 packet ramen noodles", "1 leek", "Pinch of fresh ginger, grated or thinly sliced", "1 1/4 cup soy milk", "1 onion", "2 green onions", "Salt and pepper", "Optional: 1 tablespoon white miso paste" ] } ], "instructions": [ "1 In a saucepan, boil 4 cups of the water. Add the bouillon cube, crushed chicken bouillon cubes, and 1 tablespoon of the soy sauce (or miso paste, if using). Taste often and adjust the seasoning as you go, gradually adding more crushed chicken bouillon cubes or soy sauce (or miso paste, if using) to taste.", "2 While the broth warms, prepare the marinade: Pour the remaining soy sauce into a bowl and add the mirin, oyster sauce, and sugar. Stir well.", "3 Smash three garlic cloves with the flat side of your knife, and then thinly slice them. Add the garlic to the marinade.", "4 Oil a pan and cook the pork on both sides until it is completely white. Remove the pork from the pan and thinly slice the meat. Add the marinade to the pan and then add the sliced meat. Fry on both sides.", "5 Cook the eggs in a pot of boiling water for 6 minutes, then drain and peel. In a separate pot, cook the noodles until soft. Divide the noodles between 2 bowls.", "6 Wash the leek and cut the white part into rounds. Chop the remaining garlic clove. Add the leek rounds to the broth, along with the ginger, the soy milk, and the remaining chopped garlic clove.", "7 While the broth cooks, cut the onion and green onion into thin strips, and halve the boiled eggs.", "8 Pour the broth over the noodles in the bowls. Garnish with the egg halves and slices of pork, and sprinkle the onion and green onion on top. Season with salt and pepper, and serve." ], "author": null }
- Assistantjson
{ "data": "JP" }