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": "Scones", "description": null, "subtitle": "T\nhis is the quintessential scone: a little bit of\ncrunch on the outside, a moist, almost flaky\ninterior, not too sweet flavor, and perfect for\na spot of jam or a pat of vegan butter.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1/4 cups almond milk (or your\nfavorite nondairy milk)", "2 teaspoons apple cider vinegar", "3 cups flour", "2 tablespoons baking powder", "½ teaspoon salt", "½ cup sugar, plus extra for\nsprinkling", "½ cup nonhydrogenated\nvegetable shortening", "2 tablespoons canola oil", "1 teaspoon pure vanilla extract" ] } ], "instructions": [ "Preheat the oven to 375°F.", "Lightly grease a baking sheet or line it with parchment paper.", "Measure out the milk in a large measuring cup and add the vinegar to it.", "Set aside to curdle.", "Combine the flour, baking powder, salt, and sugar in a large mixing bowl.", "Add the shortening in small clumps, then use your fingers or a pastry cutter to cut it into the flour until the dough texture becomes pebblelike.", "(You can also use a food processor for this step, but I prefer to use my hands because it's faster and means less to clean up afterwards.)", "Create a well in the center and add the milk mixture, oil, and vanilla.", "Mix with a wooden spoon until about half of the flour is incorporated.", "Mix again until all the ingredients are just moistened, taking care not to overmix.", "A couple of dry-looking spots are just fine.", "Spray a 1/4-cup measuring cup with cooking spray and use the cup to scoop the scones onto the baking sheet.", "Dust the tops of the scones with more sugar, then bake for 18 to 22 minutes, until tops are lightly browned and firm to the touch.", "Transfer the scones to a cooling rack to cool (but I think they taste best still slightly warm)." ], "author": null }
- Assistantjson
{ "data": "WEU" }