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": "GROUPER WITH ASIAN VEGETABLES, STICKY RICE, AND GINGER-SOY BROTH", "description": null, "subtitle": null, "ingredients": [ { "section": "GROUPER", "ingredients": [ "4 (6-ounce) black grouper fillets, boneless, skin removed (halibut or red snapper can be substituted)", "coarse salt, to taste", "freshly ground black pepper, to taste", "2 tablespoons hijiki seaweed (arame can be substituted)", "1/4 cup extra-virgin olive oil", "1 carrot, peeled and cut into 2-inch matchsticks", "1/2 red onion, very thinly sliced", "1 cup green beans, trimmed and cut into 2-inch pieces", "1 small green papaya, peeled and cut into 2-inch matchsticks (cucumber may be substituted)", "1 tablespoon finely chopped cilantro, for serving", "1 tablespoon finely chopped mint, for serving" ] } ], "instructions": [ "Warm the ginger-soy broth in a small saucepan over medium heat. Keep warm until ready to serve.", "Heat 2 tablespoons of olive oil over medium-high heat in a medium skillet. Add the carrots, red onion, and green beans. Cook, stirring constantly, for 3 minutes.", "With caution, add the stir-fry sauce to the pan and bring to a boil. Remove from the heat.", "Add the green papaya, stir to coat all of the vegetables with the sauce, and set aside.", "Heat remaining 2 tablespoons of olive oil over medium-high heat in a medium skillet. Once oil is very hot and begins to simmer, add the fish fillets to the pan using tongs.", "Cook for 5 minutes on both sides. Remove fillets to a baking sheet and place in oven for an additional 5 to 7 minutes or until very firm to the touch.", "TO SERVE", "Divide rice into four bowls.", "Sprinkle rice with cilantro, mint, and hijiki.", "Divide stir-fry vegetables and sauce between the bowls.", "Place fish on top of vegetables and pour ginger-soy sauce over fish. Serve immediately." ], "author": null }
- Assistant
{ "data": "WAS" }