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": "Old Fashioned Paradise Pumpkin Pie", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 (9 inch) pie shell", "1 (8 ounce) package cream cheese, softened", "1/4 cup white sugar", "½ teaspoon vanilla extract", "1 egg, beaten", "1/4 cups pumpkin puree", "1 cup evaporated milk", "2 large eggs eggs, beaten", "1/4 cup packed brown sugar", "1/4 cup white sugar", "1 teaspoon ground cinnamon", "1/4 teaspoon ground nutmeg", "1/4 teaspoon salt", "2 tablespoons all-purpose flour", "2 tablespoons brown sugar", "2 tablespoons butter, softened", "½ cup chopped pecans" ] } ], "instructions": [ "Preheat oven to 350 degrees F (175 degrees C).", "To Make Cheesecake Layer: In a medium mixing bowl, beat cream cheese until smooth. Beat in 1/4 cup sugar, then add vanilla extract and 1 egg. Beat mixture until light and smooth. Chill mixture for 30 minutes, then spread into pastry shell.", "To Make Pumpkin Layer: In a large bowl, combine pumpkin puree, evaporated milk, 2 eggs, 1/4 cup brown sugar, 1/4 cup white sugar, cinnamon, nutmeg, and salt. Mix until all ingredients are thoroughly combined.", "Pour pumpkin mixture over cream cheese layer. Cover edges of crust with aluminum foil.", "Bake in preheated oven for 25 minutes. Remove foil from edges and bake an additional 25 minutes.", "To Make Pecan Streusel Layer: While pie is in oven, combine flour and 2 tablespoons brown sugar in a small bowl. Mix well, then add softened butter or margarine and stir until ingredients are combined. Mix in pecans.", "After pie has been in oven for 50 minutes, remove and sprinkle pecan streusel evenly over top. Bake for an additional 10 to 15 minutes, until a toothpick inserted in center comes out clean." ], "author": null }
- Assistantjson
{ "data": "WNA" }