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": "Brazilian Seafood Stew", "description": "You'll need a firm, thick white fish such as cod, halibut, or red snapper to stand up to the other ingredients-shrimp, sweet potatoes, red bell pepper, diced tomatoes-in this chunky sweet and spicy coconut-infused stew", "subtitle": null, "ingredients": [ { "section": "For the seasoning and seafood", "ingredients": [ "1 teaspoon smoked paprika", "½ teaspoon salt", "½ teaspoon garlic powder", "½ teaspoon ground cumin", "1/4 teaspoon ground coriander", "1 pound red snapper, halibut, or cod fillets, cut into 1-inch pieces", "1 pound peeled and deveined medium shrimp" ] }, { "section": "For the stew", "ingredients": [ "2 tablespoons extra-virgin olive oil", "1 medium yellow onion, chopped", "2 cloves garlic, minced", "1 red bell pepper, sliced into matchsticks", "1 package (10 ounces) frozen sweet potatoes", "1 can (14 ounces) Whole30-compliant fire-roasted diced tomatoes, undrained", "1 can (13.6 ounces) Whole30-compliant coconut milk", "½ teaspoon red pepper flakes", "2 teaspoons sweet paprika", "1 lime, cut into wedges" ] } ], "instructions": [ "SEASON THE SEAFOOD: In a small bowl, combine the smoked paprika, salt, garlic powder, cumin, and coriander.", "Place the cod and shrimp in a large bowl and sprinkle with the seasoning. Set aside.", "MAKE THE STEW: On a 6-quart Instant Pot, select Sauté and adjust to Normal/Medium. Add the olive oil to the pot. When it's hot, add the onion and garlic and cook, stirring occasionally, until the onion is softened, about 2 minutes. Press Cancel.", "ADD the bell pepper, sweet potatoes, tomatoes, coconut milk, red pepper flakes, and sweet paprika; stir.", "Add the fish and shrimp to the pot. Stir gently. Lock the lid in place.", "SELECT Manual and cook on high pressure for 2 minutes. Use quick release.", "SERVE the stew with lime wedges." ], "author": null }
- Assistantjson
{ "data": "BR" }