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": "Vietnamese Beef Pho", "description": "Assembled just before serving and customized at the table with plentiful garnishes, pho is the pinnacle of bowl food. While the fragrant broth traditionally simmers for hours, our dead-simple approach infuses aromatic flavor into store-bought beef broth in just 30 minutes using onion, ginger, cinnamon, star anise, and cloves. Instead of painstakingly slicing steak, which cooks at the last second in the hot broth, store-bought shaved steak (often used for steak sandwiches) stood in perfectly.", "subtitle": null, "ingredients": [ { "section": "For the broth", "ingredients": [ "1 small onion, quartered through root end, divided", "3 cups beef broth", "1 tablespoon fish sauce, plus extra for serving", "1 (1-inch) piece ginger, sliced into thin rounds", "1 cinnamon stick", "2 teaspoons sugar", "2 star anise pods", "4 whole cloves" ] }, { "section": "For the noodles and toppings", "ingredients": [ "6 ounces (½-inch-wide) rice noodles", "8 ounces shaved steak", "1 ounce (½ cup) bean sprouts", "½ cup fresh cilantro leaves", "Lime wedges" ] } ], "instructions": [ "Slice 1 onion quarter as thin as possible; set aside until ready to serve.", "Bring remaining 3 onion quarters, broth, 1 cup water, fish sauce, ginger, cinnamon, sugar, star anise, and cloves to boil in large saucepan, then reduce heat to medium-low and simmer for 30 minutes.", "While broth simmers, pour 2 quarts boiling water over noodles in bowl and stir to separate.", "Let noodles soak until soft and pliable but not fully tender, stirring once halfway through soaking, 8 to 10 minutes.", "Drain noodles and rinse with cold water until water runs clear, shaking to remove excess water.", "Strain broth through fine-mesh strainer into 4-cup liquid measuring cup, adding water as needed to equal 3 cups. Discard solids.", "Combine noodles and broth in now-empty saucepan, return to boil, and cook until noodles are tender, about 1 minute.", "Season with salt and pepper to taste.", "Divide hot broth and noodles among individual serving bowls then stir in thinly sliced onion and steak.", "Top with sprouts and cilantro.", "Serve immediately, passing lime wedges and extra fish sauce separately." ], "author": null }
- Assistant
{ "data": "VN" }