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": "Pancakes", "description": "my family's choice of breakfast on special occasions, holidays, and the occasional lazy Sunday is pancakes. Serve them plain with pure maple syrup, add your favorite in-season fruit to the batter, or top them with Raspberry Maple Syrup (opposite page). Freeze them in pairs in airtight bags and you have the solution for a quick midweek breakfast.", "subtitle": "my family's choice of breakfast on special occasions, holidays, and the occasional lazy Sunday", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "3 tablespoons grapeseed oil plus more for pan", "1 Flaxseed Egg (page 42)", "1% to 2 cups (420 to 480 ml) Hemp Milk (page 31) or non-dairy milk of choice", "1 teaspoon Vanilla Extract (page 288)", "300 grams (about 2¼ cups) Pancake and Baking Mix (page 24)" ] } ], "instructions": [ "1. Whisk together 3 tablespoons of oil, flaxseed egg, 1¾ cups (420 ml) of milk, and vanilla.", "2. Whisk in the Pancake and Baking Mix. Add up to 1/4 cup (60 ml) more milk until the desired consistency is reached.", "3. Heat a small amount of oil in a skillet over medium-high heat.", "4. Spoon the pancake batter, in portions, into the skillet. Flip the pancakes when you can see small holes forming in the tops of the pancakes. Cook for 1 to 2 minutes longer, until lightly browned.", "5. Repeat step 4 with additional batter. Add more oil to the pan as needed to avoid sticking." ], "author": "" }
- Assistant
{ "data": "WWW" }