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": "Cold Soba Noodles", "description": "Todoroki, one of the main characters of My Hero Academia, mentions that his favorite food is cold soba noodles and is seen eating the dish. This simple Japanese dish is surprisingly delicious!", "subtitle": "Todoroki's favorite dish from My Hero Academia", "ingredients": [ { "section": "For the mentsuyu sauce", "ingredients": [ "½ cup (120 ml) soy sauce", "½ cup (120 ml) mirin", "1/4 cup (60 ml) sake", "1 cup (12 g) dried bonito flakes (katsuobushi)", "1 teaspoon dashi powder" ] }, { "section": "For the noodles", "ingredients": [ "14 ounces (397 g) soba (buckwheat) noodles", "Ice cubes, for ice bath" ] }, { "section": "For the topping", "ingredients": [ "1 sheet dried seaweed (nori), shredded into thin strips", "3 scallions, thinly sliced", "Wasabi, to taste (optional)" ] } ], "instructions": [ "In a medium pot, combine the soy sauce, mirin, sake, bonito flakes, and dashi powder for a mentsuyu sauce.", "Bring to a boil over medium-high heat, and then boil for 5 minutes.", "Strain into a heatproof glass container, cover, and let cool in the refrigerator.", "Cook the soba noodles according to the package instructions.", "Tip the noodles into a colander, then rinse under cold running water for 20 seconds while gently tossing.", "Transfer the noodles to a medium bowl, add the ice cubes and enough cold water to submerge the noodles, and let sit for 5 minutes.", "Drain and serve on plates or bamboo zaru.", "Top the soba noodles with the shredded nori and serve alongside small bowls of the cold mentsuyu sauce topped with scallions and wasabi (if using).", "Dip the soba noodles into the mentsuyu sauce and enjoy." ], "author": null }
- Assistant
{ "data": "JP" }