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": "Pumpkin Roll with Ginger and Pecans", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "3 large eggs eggs", "1 cup white sugar", "½ cup solid pack pumpkin puree", "1 teaspoon lemon juice", "3/4 cup all-purpose flour", "1 teaspoon baking powder", "½ teaspoon salt", "2 teaspoons ground cinnamon", "1 teaspoon ground ginger", "1 cup chopped pecans", "confectioners' sugar for dusting", "1 (8 ounce) package cream cheese", "4 tablespoons butter", "1 cup confectioners' sugar", "½ teaspoon vanilla extract", "confectioners' sugar for dusting" ] } ], "instructions": [ "Preheat oven to 350 degrees F (175 degrees C). Grease and flour a 10x15 inch jellyroll pan.", "In a large bowl, beat eggs and sugar with an electric mixer on high speed for five minutes. Gradually mix in pumpkin and lemon juice. Combine the flour, baking powder, salt, cinnamon, and ginger; stir into the pumpkin mixture. Spread batter evenly into the prepared pan. Sprinkle pecans over the top of the batter.", "Bake for 12 to 15 minutes, or until the center springs back when touched. Loosen edges with a knife. Turn out on two dishtowels that have been dusted with confectioners' sugar. Roll up cake using towels, and let cool for about 20 minutes.", "In a medium bowl, combine cream cheese, butter, 1 cup confectioners' sugar, and vanilla. Beat until smooth. Unroll pumpkin cake when cool, spread with filling, and roll up. Place pumpkin roll on a long sheet of waxed paper, and dust with confectioners' sugar. Wrap cake in waxed paper, and twist ends of waxed paper like a candy wrapper. Refrigerate overnight. Serve chilled; before slicing, dust with additional confectioners' sugar." ], "author": null }
- Assistantjson
{ "data": "WNA" }