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": "Arrietty\nJAM COOKIES", "description": "In The Secret World of Arrietty, tiny beings called the Borrowers live frugal lives pilfering small items from the human\nworld. Shō, an ailing human boy awaiting heart surgery, unexpectedly crosses paths with one of these Borrowers, a\nteenage girl named Arrietty.\nThe chance encounter between Shō and Arrietty, who find kinship through their common loneliness, causes the\nBorrower family to move away. While Arrietty's family is looking for a new home, her father is injured; Spiller, another\nBorrower, comes to his aid. To thank Spiller, the family invites him to join them for tea, with accompanying jam\ncookies, in the dollhouse they have long called home.\nSpiller lives in the wild, however, and he prefers his cricket haunch to the tea he is served. This contrast between\nrefined dishes and simple fare reflects two very different lifestyles in the film: nomadic and sedentary. The next time\nyou have guests, you can make your own jam cookies; they'll surely be received better than Arrietty's were.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 cups (250 grams) flour", "1 cup (125 grams) powdered sugar", "1 teaspoon baking powder", "1/2 cup unsalted butter, at room temperature", "1 egg yolk", "1 teaspoon vanilla extract", "1/4 teaspoon salt", "6 heaping tablespoons jam of your choice" ] } ], "instructions": [ "In a mixing bowl, sift together the flour and powdered sugar to prevent lumps.", "Add the baking powder, and stir.", "Cut the butter into small cubes, mashing and kneading it into the dry ingredients.", "Beat the egg with the vanilla, and add it to the mixture along with the salt.", "Knead until the dough forms a smooth ball, and then refrigerate the dough for 1 hour.", "Preheat the oven to 300°F.", "Remove the dough from the refrigerator.", "Dust your work surface with flour, ad roll out the dough to a thickness of about ½ inch.", "Use a cookie cutter to cut shapes from the dough.", "Bake the cookies for 10 minutes, making sure they do not brown or overbake. The cookies should remain soft and light in color.", "Remove the cookies from the oven and let them cool.", "Add the jam and, if desired, top with additional powdered sugar." ], "author": null }
- Assistant
{ "data": "WWW" }