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": "Mexican Pumpkin Empanadas", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "3 cups all-purpose flour", "½ cup white sugar", "1 ½ teaspoons salt", "1/4 teaspoon baking powder", "1 cup vegetable shortening", "1 cup warm water", "4 cups canned pure pumpkin", "2 large eggs eggs", "1 cup white sugar", "1 teaspoon salt", "1½ teaspoons ground cinnamon", "1 teaspoon ground ginger", "½ teaspoon ground cloves", "1 beaten egg" ] } ], "instructions": [ "Preheat oven to 350 degrees F (175 degrees C). Line baking sheets with parchment paper.", "In a large bowl, whisk the flour, 1/3 cup of sugar, 1 1/2 teaspoons of salt, and baking powder together. Cut the shortening into the flour mixture until it resembles coarse crumbs; stir the water in, about 2 tablespoons at a time, just until you can gather the dough together. Knead the dough a few times in the bowl, then scrape it out onto a floured surface. Cut the dough in quarters, and cut each quarter into thirds to make 12 equal portions. Roll the portions into balls. Cover the dough balls with a cloth, and allow to rest while you make the filling.", "Mix the pumpkin, 2 eggs, 1 cup of sugar, 1 teaspoon of salt, cinnamon, ginger, and cloves together until smooth. On a floured surface, roll each dough ball out into a thin circle about 6 inches across; spoon about 1/3 cup of filling into the center of the dough circle. Fold the dough over the filling to make a half-moon shaped pie, and crimp the edges of the crust together with a fork, leaving little fork lines in the dough. Gently lay the empanadas onto the prepared baking sheets. Brush the top of each pie with beaten egg.", "Bake in the preheated oven until the filling is hot and the crusts are shiny and browned, about 20 minutes." ], "author": null }
- Assistant
{ "data": "MX" }