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": "Curried Coconut Shrimp Soup", "description": "Replete with bright vegetables and juicy shrimp, this aromatic Thai-style soup is perfectly sized to serve two and comes together in record time. To infuse our soup with flavor quickly, we bloomed store-bought Thai green curry paste in oil before adding a combination of chicken broth and coconut milk for a rich, fragrant base, which we then seasoned with lime juice and fish sauce for sour-salty flavor.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 teaspoon vegetable oil", "1 tablespoon Thai green curry paste", "½ teaspoon red pepper flakes", "2 cups chicken or vegetable broth, plus extra as needed", "¾ cup canned coconut milk", "8 ounces sweet potatoes, peeled and cut into ½-inch pieces", "1 tablespoon lime juice", "2 teaspoons fish sauce", "1 recipe Sautéed Shrimp (this page)", "2 ounces snow peas, strings removed and sliced thin lengthwise", "¼ cup fresh cilantro leaves" ] } ], "instructions": [ "Heat oil in large saucepan over medium-high heat until shimmering.", "Add curry paste and pepper flakes and cook until fragrant, about 30 seconds.", "Stir in broth, coconut milk, and potatoes, scraping up any browned bits.", "Bring to simmer, then reduce heat to low, cover, and cook until potatoes are tender, 10 to 12 minutes.", "Off heat, stir in lime juice and fish sauce and season with salt and pepper to taste.", "Divide soup among individual serving bowls then top with shrimp, snow peas, and cilantro.", "Serve." ], "author": null }
- Assistant
{ "data": "TH" }