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": "Asian Noodle Salad", "description": "Since opening in 1998, Disney's Animal Kingdom Theme Park has entertained millions of guests through amazing adventures with wild and legendary animals, world-class stage shows and attractions, and diverse restaurants. This was the first Disney park to prominently showcase flavorful cuisine from Africa and India, giving many diners their first tastes of such foods. The quick-service restaurant Mr. Kamal's is a great example.", "subtitle": "Savory Bites", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 tablespoon canola oil", "1 tablespoon peeled and minced fresh ginger", "2 cloves garlic, peeled and minced", "1/4 cup sugar", "3/4 cup soy sauce", "1/4 cup water", "1/4 cup apple cider vinegar", "2 tablespoons chili oil", "1 pound dried spaghetti", "2 tablespoons sesame oil, divided", "1/2 cups broccoli florets", "3/4 cup snow peas", "3/4 cup thinly sliced red pepper", "3/4 cup thinly sliced (matchstick) carrots", "1/4 cup green onion, thinly sliced on a diagonal", "1 tablespoon black sesame seeds" ] } ], "instructions": [ "Carefully heat oil in a large saucepan over medium heat.", "Add ginger and garlic and stir until fragrant, about 30 seconds.", "Add sugar, soy sauce, water, apple cider vinegar, and chili oil, stirring well.", "Cook, stirring, until sugar melts and mixture simmers.", "Meanwhile, cook spaghetti in a separate large pot of boiling water until just under al dente, about 5 minutes.", "Drain noodles and, with caution, add to soy sauce dressing in saucepan; place over medium-low heat and toss with tongs until spaghetti absorbs dressing, about 5 minutes.", "Stir in 1 tablespoon sesame oil.", "Remove from heat and spread noodles on a large baking sheet; place in freezer to chill quickly, but do not freeze.", "Fill a large bowl about halfway with ice and water and set aside.", "Bring a large saucepan of water to a boil.", "Blanch broccoli and snow peas in boiling water for 10 seconds, then transfer to ice water.", "After a few minutes, drain vegetables and pat dry.", "Place cooked and cooled broccoli and snow peas, red pepper, and carrots in a large bowl; toss with remaining 1 tablespoon sesame oil.", "Add cooled noodles to vegetables, tossing gently to thoroughly combine.", "Garnish with sliced green onions and black sesame seeds." ], "author": "Mr. Kamal's Asia, Disney's Animal Kingdom Theme Park" }
- Assistant
{ "data": "WAS" }