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": "S'MORES PANCAKES", "description": null, "subtitle": "One of the few knocks that customers had about the brunch at our restaurant Lisa Marie was that we didn't offer any sweet options. Normally I default to savoury, so the first time I made s'mores pancakes at the restaurant, they were a special I just whipped up on a whim. I posted them on Instagram and the rest was history; they are now a fixture on our menu, and our customers go crazy for them. Nutella-layered chocolate chip pancakes topped with marshmallow fluff and torched marshmallows... Needless to say, they were voted the #1 pancake in Toronto in 2016.", "ingredients": [ { "section": "Chocolate Chip Pancakes", "ingredients": [ "1 batch OG Buttermilk Pancake batter (this page)", "2 cups (500 mL) chocolate chips" ] }, { "section": "For Serving", "ingredients": [ "1½ cups (375 mL) chocolate hazelnut spread", "1½ cups (375 mL) marshmallow fluff", "1½ cups (375 mL) mini marshmallows", "½ cup (125 mL) graham cracker crumbs" ] } ], "instructions": [ "Make the OG Buttermilk Pancake batter, folding in the chocolate chips at the end.", "Cook as directed.", "Set the oven to broil and line a baking sheet with parchment paper.", "On the baking sheet, stack the Chocolate Chip Pancakes 3-high with a layer of chocolate hazelnut spread between each pancake.", "Top each triple-decker pancake stacks with marshmallow fluff and mini marshmallows.", "Broil until marshmallows are charred, about 2 minutes.", "(You can also use a kitchen blowtorch to toast the marshmallows.)", "Serve the S'mores Pancakes with a sprinkling of graham cracker crumbs." ], "author": null }
- Assistant
{ "data": "CA" }