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": "Spicy Bok Choy and Miki Noodle Soup", "description": "A few years ago Ky and I took the (business) trip of a lifetime, to Southeast Asia. Singapore, Malaysia, Indonesia, and the Philippines are all very different places with their own food cultures, but one thing we ate in almost every country was soup for breakfast. I lived for it: spicy broth, beautiful noodles, pork belly or seafood, and always a crispy fried egg. Each soup had a perfect balance of vinegar and spice that made me sweat... a lot. Totally worth it, and surprisingly made me feel cooler in the scorching temperatures. Functional and tasty.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "3 tablespoons (45 mL) canola oil, divided", "¾ cup (175 mL) finely diced celery", "¾ cup (175 mL) finely diced onion", "2 cloves garlic, minced", "1 teaspoon (5 mL) grated fresh ginger", "2 teaspoons (10 mL) salt", "½ teaspoon (2 mL) Thai seasoning (I use Club House brand)", "1 Thai red chili pepper, sliced", "1 cup (250 mL) thinly sliced carrots", "4 Roma tomatoes, diced", "Juice of 2 limes", "10 cups (2.5 L) water, divided", "8 baby bok choy", "1 cup (250 mL) cilantro leaves, plus more for garnish", "4 large eggs", "14 ounces (400 g) precooked miki, udon, or chow mein noodles", "2 teaspoons (10 mL) sesame seeds" ] } ], "instructions": [ "BUILDING YOUR MASTER STOCK", "Heat 2 tablespoons (30 mL) canola oil in a large pot over medium-high heat.", "Add the celery, onion, garlic, and ginger and sauté for 2 to 3 minutes, stirring constantly.", "Season the mixture with salt and Thai seasoning and sauté for another 2 minutes.", "Add the chili pepper, carrots, tomatoes, and lime juice.", "Continue to cook, stirring continuously, for 2 to 3 minutes, until the tomatoes begin to break down.", "Add 5 cups (1.25 L) water and bring to a boil.", "Turn the heat down and simmer for 20 minutes, or until reduced by a quarter.", "Add the bok choy and the remaining 5 cups (1.25 L) water.", "Bring everything back up to a simmer and cook for another 10 minutes.", "Turn the heat off and stir in the cilantro.", "JUST LIKE THE REST OF THE BOOK, PUT AN EGG ON IT!", "In a medium frying pan, heat the remaining 1 tablespoon (15 mL) canola oil over medium-high heat.", "Crack the eggs into the oil and turn the heat down to medium.", "Cook the eggs sunny side up for about 5 minutes.", "To serve, divide the miki noodles evenly among 4 bowls.", "Ladle the hot soup over top.", "Top each serving with a sunny-side-up egg and garnish with sesame seeds and cilantro leaves." ], "author": null }
- Assistant
{ "data": "WAS" }