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": "Thai Noodle Salad with Chicken", "description": "Thai food is usually loaded with common allergens-from the fish sauce to the soy sauce to the chopped peanuts that are so often the finishing touch. Here, I've created an allergy-free noodle salad to satisfy that Thai food craving. Buy shredded cabbage (for coleslaw), shredded carrots, and precut bell peppers to fast-track the prep.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "4 ounces rice noodles (pad Thai or maifun)", "I cup shredded cabbage", "½ cup shredded carrot", "14 English cucumber, quartered and diced", "½ cup red or yellow bell pepper strips, halved", "I cup cubed cooked chicken breast", "2 green onions, white and green parts, chopped", "2 tablespoons chopped fresh basil", "2 tablespoons chopped fresh mint", "½ teaspoon salt", "2 tablespoons plus I teaspoon freshly squeezed lime juice", "4 teaspoons rice vinegar", "I tablespoon light agave nectar", "I tablespoon mirin", "2 teaspoons Sriracha or Thai Chile Sauce", "2 tablespoons canola oil", "Fresh mint leaves for garnish" ] } ], "instructions": [ "1 Bring a large pot of water to a boil over high heat. Boil the noodles according to the instructions on the package. Place the cabbage in a colander and drain the noodles over the cabbage. Rinse with cold water, and drain.", "2 Toss the cabbage and noodles in a large bowl with the carrot, cucumber, bell pepper, chicken, green onions, basil, and mint. Use your hands or tongs, whichever you find easiest. Sprinkle with the salt, and toss well.", "3 In a separate bowl, whisk together the lime juice, rice vinegar, agave nectar, mirin, chile sauce, and canola oil. Pour over the noodles and toss. Adjust the salt to taste. Garnish with a few whole mint leaves." ], "author": "" }
- Assistantjson
{ "data": "TH" }