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": "Green Fried Rice Bowl", "description": "Why This Recipe Works For a healthier, vibrant spin on takeout fried rice, we combined bold herbs (made into a paste to cling to every grain of rice), bright green vegetables, deliciously crisped rice, and a fried egg with a decadently runny yolk. A food processor does a better job of creating the herb paste than we could do by hand, but in a pinch you can mince the toasted garlic, cilantro, basil, spinach, and serrano yourself. You can substitute regular basil for the Thai basil in this recipe.", "subtitle": "Serves 2 | Calories per Serving: 570", "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 garlic cloves (1 whole unpeeled, 1 minced)", "¼ cup fresh cilantro leaves", "¼ cup fresh Thai basil leaves", "5 ounces (5 cups) baby spinach, divided", "1 serrano chile, stemmed, seeded, and chopped coarse", "½ teaspoon table salt, divided", "2 tablespoons plus 2 teaspoons vegetable oil, divided", "4 ounces green beans, trimmed and halved", "1 teaspoon grated fresh ginger", "2 cups cooked white rice (this page)", "½ cup frozen peas", "1 recipe Fried Eggs (this page)", "Lime wedges" ] } ], "instructions": [ "Toast unpeeled garlic clove in 12-inch nonstick skillet over medium heat, shaking skillet occasionally, until softened and spotty brown, about 8 minutes.", "When garlic is cool enough to handle, discard skin and chop coarsely.", "Process chopped garlic, cilantro, basil, 1 cup spinach, serrano, and ½ teaspoon salt in food processor until finely chopped, about 15 seconds, scraping down sides of bowl as needed; set aside.", "Heat 2 teaspoons oil in now-empty skillet over medium-high heat until shimmering.", "Add green beans and ½ teaspoon salt and cook until green beans are spotty brown, 1 to 2 minutes.", "Add remaining 4 cups spinach and cook until wilted, 1 to 2 minutes.", "Add ginger and minced garlic and cook until fragrant, about 30 seconds.", "Transfer vegetables to bowl, cover with aluminum foil to keep warm, and set aside until ready to serve.", "Heat remaining 2 tablespoons oil in again-empty skillet over medium-high heat until shimmering.", "Add cooked rice, herb mixture, peas, and remaining ¼ teaspoon salt, stirring to combine, then firmly press into compact, even layer.", "Cover and cook, without stirring, until rice begins to crisp, about 2 minutes.", "Uncover, reduce heat to medium, and continue to cook until bottom of rice is golden brown, 4 to 6 minutes.", "Season with salt and pepper to taste.", "Divide among individual serving bowls then top with green bean mixture and fried eggs.", "Serve with lime wedges." ], "author": "" }
- Assistantjson
{ "data": "TH" }