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": "Pumpkin Cookies with Maple Icing", "description": null, "subtitle": null, "ingredients": [ { "section": "Cookies", "ingredients": [ "2 cups all-purpose flour", "1 teaspoon baking powder", "1 teaspoon baking soda", "½ teaspoon salt", "1 teaspoon pumpkin pie spice", "½ cup shortening", "1 cup brown sugar", "1 cup pumpkin puree", "1 large egg", "1 teaspoon vanilla extract" ] }, { "section": "Icing", "ingredients": [ "½ cup unsalted butter, at room temperature", "1/4 cup maple syrup", "2 tablespoons pumpkin puree", "1 teaspoon pumpkin pie spice", "1 teaspoon vanilla extract", "1 (16 ounce) package powdered sugar", "1 drop orange gel food coloring, or as desired", "1 tablespoon black sprinkles, or as desired" ] } ], "instructions": [ "Preheat the oven to 350 degrees F (175 degrees C). Line 2 baking sheets with parchment paper.", "Sift flour, baking powder, baking soda, salt, and pumpkin pie spice for cookies together in a large bowl. Set aside.", "Combine shortening and brown sugar in a second large bowl. Beat using an electric mixer until light and fluffy, about 1 minute. Add pumpkin, egg, and vanilla extract; mix well until combined. Add 1/2 of the flour mixture and mix well. Add remaining flour mixture and mix again.", "Scoop tablespoonfuls of dough onto the prepared baking sheets, arranging 2 inches apart.", "Bake in the preheated oven until lightly browned at the edges, about 14 minutes, rotating baking sheets from top to bottom and front to back halfway through baking time.", "While the cookies bake, combine butter and maple syrup for icing in a medium bowl. Beat using an electric mixer until smooth. Add pumpkin, pumpkin pie spice, and vanilla extract. Mix well. Add powdered sugar and beat until fluffy. Add food coloring and beat until uniform. Set aside.", "Remove cookies from the oven and let cool on baking sheets for 5 minutes. Transfer cookies to a wire rack to cool completely, 20 to 30 minutes more. Pipe or spread icing onto cooled cookies and decorate with sprinkles as desired." ], "author": null }
- Assistant
{ "data": "WNA" }