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": "SAVORY MAURITIAN CRÊPES", "description": "Savory crêpes are both disarmingly simple and disarmingly delicious. This is a traditional Indo-Mauritian recipe. For many Mauritians, these crêpes are comfort food, even eaten during cyclones. Enjoy your crêpes just like they do on the island of Mauritius, fresh from the pan, served with Satini Cotomili (Cilantro Chutney).", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1½ cups (200 g) whole wheat flour", "1 teaspoon salt", "½ teaspoon ground turmeric", "2 tablespoons minced chives", "1 tablespoon vegetable oil, plus more for frying", "1½ cups (400 ml) warm water" ] } ], "instructions": [ "Combine the flour, salt, turmeric, chives, and oil in a large bowl.", "Slowly add the water, whisking constantly to remove any lumps and form a smooth batter.", "Place the bowl in the refrigerator for 1 hour to thicken the batter.", "Heat a layer of oil in a nonstick frying pan over medium heat.", "Add a ladleful of batter to the pan and gently tilt the pan so the batter covers the entire surface.", "Cook until the bottom is golden brown, about 1 minute.", "Loosen the edges with a spatula, flip the crêpe over, and cook on the other side, about 1 minute.", "Slide the crêpe off the pan and onto a plate.", "Cover with foil to keep warm.", "Repeat with the remaining batter.", "Enjoy immediately." ], "author": null }
- Assistant
{ "data": "MU" }