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": "MCINTOSH APPLE CHARLOTTES", "description": "This fancy version of an apple pie is made with brioche instead of piecrust, but has the flavor and gooey texture of a traditional pie. At Napa Rose, where the menu is seasonal and celebrates the bounty of California, they serve it with house-made caramel goat cheese ice cream.", "subtitle": "SWEET ENDINGS AND DESSERTS", "ingredients": [ { "section": "FOR MCINTOSH APPLE CHARLOTTES", "ingredients": [ "3 tablespoons unsalted butter", "1/2 cup brown sugar", "1 pinch salt", "5 large McIntosh apples, peeled, cored, and chopped", "1/2 lemon, juiced and zested", "1/4 teaspoon vanilla", "1 tablespoon apple brandy", "12 2-inch-thick slices brioche" ] }, { "section": "CRUMB TOPPING", "ingredients": [ "1/2 cup all-purpose flour", "1/4 cup unsalted butter, softened", "2 tablespoons brown sugar", "1/4 cup chopped pecans", "1/8 teaspoon ground cinnamon", "1/8 teaspoon ground nutmeg", "1/2 teaspoon vanilla extract", "whipped cream or vanilla ice cream, for serving" ] } ], "instructions": [ "Preheat oven to 350°F. Heat butter, sugar, and salt in a medium skillet over medium heat for 3 to 5 minutes.", "Add apples, lemon zest, and vanilla; sauté for 5 minutes.", "Add apple brandy and lemon juice and remove from heat.", "Grease a 12-well muffin tin with butter.", "Roll brioche slices with rolling pin until 1/8 inch thick. Place into greased muffin tin to form 12 bowls.", "Pour apple mixture into centers of brioche bowls.", "Bake for 8 to 10 minutes, or until the edges are golden brown.", "Cool for 30 minutes, then carefully remove from muffin tin.", "Preheat oven to 300°F. Combine flour and butter with a pastry blender or 2 knives to form a coarse meal.", "Add brown sugar, pecans, cinnamon, nutmeg, and vanilla extract; mix until dough forms.", "Break dough into small pieces on a sheet pan. Bake for 15 to 20 minutes, until golden brown.", "Sprinkle on top of warm charlottes. Serve with whipped cream or vanilla ice cream." ], "author": null }
- Assistant
{ "data": "US" }