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": "SAMAR'S DATE CAKE", "description": null, "subtitle": "Muscat baker and former café owner Samar Al Khusaibi loves taking international recipes and using local flavors and ingredients to give them her own twist, as with this moist Bundt cake sweetened with dried dates.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1½ cups packed large Medjool dates, pitted (about 25 large), plus more for garnish", "1 teaspoon baking soda", "1½ cups boiling water", "1 cup unbleached all-purpose flour", "1 teaspoon baking powder", "½ teaspoon kosher salt", "4 tablespoons (½ stick) butter, softened, plus more for greasing pan", "¼ cup lightly packed brown sugar", "2 large eggs", "¼ cup coarsely chopped walnuts (optional)", "Date syrup, for serving" ] } ], "instructions": [ "In a small bowl, toss the dates with the baking soda and pour the boiling water over; let sit until the dates have softened and cooled, about 1 hour.", "Drain, discarding the liquid, and purée the dates in a blender or food processor until smooth (this should yield about 1½ cups).", "Preheat the oven to 325°F. Grease a 9 or 10-inch Bundt pan.", "Whisk the flour, baking powder, and salt together in a small bowl.", "Cream the butter and brown sugar together in a large bowl using an electric mixer on medium speed until fluffy, 3 to 5 minutes.", "Stir in the eggs, then sift in the dry ingredients.", "Fold in the date purée.", "Sprinkle the walnuts in the bottom of the Bundt pan.", "Spoon the batter evenly into the pan.", "Bake until cooked through but still moist, about 30 minutes.", "Let cool slightly, and then invert onto a plate.", "Drizzle the warm cake with date syrup and garnish by filling the center with plump dates." ], "author": "Samar Al Khusaibi" }
- Assistant
{ "data": "OM" }