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": "SAVOY CAKE", "description": "A delightful and sophisticated Savoy cake that features a blend of unique flours and flavors, perfect for any occasion.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "8% large (290 g) egg whites", "5% ounces (150 g) piloncillo sugar", "cup (100 g) cake flour", "½ cup (90 g) chestnut flour", "½ cup packed (150 g) dark brown sugar", "½ cup plus 1% tablespoons (130 g) browned unsalted butter (beurre noisette)", "3 vanilla beans", "Unsalted butter", "Light brown sugar", "Confectioners' sugar" ] } ], "instructions": [ "In the bowl of an electric stand mixer fitted with a whisk, whip the egg whites until they form peaks, then add the piloncillo sugar.", "Add the cake flour and chestnut flour, dark brown sugar, browned butter, and the split and scraped vanilla beans.", "Preheat the oven to 350°F (175°C).", "Pour the cake batter into a large greased-and-sugared star-shaped cake pan.", "Sift the confectioners' sugar over the batter.", "Bake in the oven for 35 minutes.", "Remove the cake from the oven and cool on a rack." ], "author": "" }
- Assistantjson
{ "data": "WWW" }