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": "Cream Cheese Pumpkin Roll", "description": null, "subtitle": null, "ingredients": [ { "section": "Ingredients", "ingredients": [ "3 large eggs eggs", "1 cup white sugar", "2/3 cup pumpkin puree", "¼ cup all-purpose flour", "2 teaspoons ground cinnamon", "1 teaspoon baking powder", "1 teaspoon ground ginger", "½ teaspoon ground nutmeg", "½ teaspoon salt" ] }, { "section": "Filling", "ingredients": [ "1 (8 ounce) package cream cheese, softened", "1 cup confectioners' sugar", "1/4 cup butter, softened", "1 tablespoon pumpkin puree", "1 teaspoon vanilla extract" ] } ], "instructions": [ "Preheat oven to 375 degrees F (190 degrees C). Grease a 10x15-inch jelly roll pan and line with wax paper.", "Beat eggs and white sugar in a large bowl until well blended; stir in 2/3 cup pumpkin puree.", "Combine flour, cinnamon, baking powder, ginger, nutmeg, and salt in another bowl; stir into egg mixture until just blended. Pour mixture into prepared jelly roll pan.", "Bake in preheated oven until a toothpick inserted into the center comes out clean, about 15 minutes. Cool in the pans for 10 minutes, then turn cake out onto a clean towel. Remove and discard wax paper. Roll cake up into the towel, starting with the short end. Cool.", "Beat cream cheese, confectioners' sugar, butter, 1 tablespoon pumpkin puree, and vanilla extract in another bowl until smooth.", "Spread a large sheet of plastic wrap on a work surface. Place and unroll cake over plastic and spread with prepared filling. Re-roll cake and wrap with plastic. Refrigerate, seam-side down, until chilled, about 2 hours." ], "author": null }
- Assistant
{ "data": "WNA" }