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": "Herbed Whole Wheat Drop Biscuits", "description": "I don't know, I can't be bothered to do "cut-out" biscuits anymore. It just seems silly when you can drop 'em on the pan with much less fuss. But enough of my biscuit pathos. These whole wheat biscuits are slightly more crumbly than traditional white flour biscuits. They have a pleasant, crunchy bite that I can get down with, plus they're just perfect for sopping up gravy. However, if you like, you can substitute all-purpose flour for whole wheat.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 cups whole wheat pastry flour", "5 teaspoons baking powder", "2 teaspoons dried thyme", "2 teaspoons dried rosemary", "1 teaspoon salt", "3 tablespoons cold nonhydrogenated vegetable shortening", "2 tablespoons cold nonhydrogenated margarine", "1 cup almond milk (or your favorite nondairy milk)" ] } ], "instructions": [ "Preheat the oven to 450°F.", "Grease a baking sheet.", "In a large bowl, mix together the flour, baking powder, herbs, and salt.", "Cut the shortening and margarine into the flour using your fingers or a pastry knife, or two knives held together, until pebble-to-marble-size pieces of dough form.", "Add the milk and use a wooden spoon to combine into a soft dough.", "Use an ice cream scoop or 4-cup measuring cup to scoop biscuits onto the baking sheet.", "Bake for 15 to 18 minutes, until the biscuits are lightly browned.", "Transfer the biscuits to a cooling rack but serve warm if you can." ], "author": null }
- Assistant
{ "data": "WNA" }