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": "Sweet Semolina Cake (Basboussa)", "description": null, "subtitle": null, "ingredients": [ { "section": "Cake", "ingredients": [ "1 1/2 C. of coarse semolina", "1 C. plain flour", "2 tsps baking powder", "3/4 C. unsweetened dried shredded coconut", "1/4 C. granulated sugar", "1 C. sunflower oil", "1 lemon, zest of, finely grated", "2 tsps vanilla flavoring", "4 eggs" ] }, { "section": "Glaze", "ingredients": [ "3 C. water", "3 C. granulated sugar", "1 tbsp orange flower water", "1 tsp lemon juice" ] }, { "section": "Garnish", "ingredients": [ "almonds", "1 C. yogurt" ] } ], "instructions": [ "Set your oven to 355 degrees F before doing anything else and grease an 11x7-inch baking dish.", "For Syrup in a pan, add the water and sugar and bring to a boil and simmer till pale golden syrup forms.", "Remove from heat and immediately, stir in orange flower water and lemon juice and keep aside to cool.", "In a large bowl, mix together the flour, semolina, granulated sugar, baking powder and coconut.", "In another bowl, add the remaining ingredients and beat till smooth and creamy.", "Add the eggs mixture into flour mixture and mix till well combined.", "Transfer the mixture into the prepared baking dish evenly and with the back of spatula, smooth the surface.", "With a knife, make diamond pattern on top and insert 1 almond in each pattern.", "Cook in the oven for about 30-40 minutes.", "Remove the cake from oven and cut through the pattern.", "Place the syrup over cake evenly and keep aside for about 2 hours." ], "author": null }
- Assistantjson
{ "data": "EG" }