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": "Mini Almond Cakes (Makrout a Louz)", "description": null, "subtitle": null, "ingredients": [ { "section": "Cake", "ingredients": [ "3 C. ground almonds", "1 C. granulated sugar", "4 limes, zest of, finely grated", "3 small medium eggs" ] }, { "section": "Prep", "ingredients": [ "3 tbsps cornflour" ] }, { "section": "Garnish", "ingredients": [ "2 C. of light sugar syrup", "2 1/2 C. icing sugar" ] } ], "instructions": [ "Set your oven to 340 degrees F before doing anything else and arrange the rack in the middle shelf of the oven.", "In a large bowl, add sugar, almonds, eggs and lime zest and mix till a soft dough forms.", "Dust a smooth surface with corn flour.", "Divide the dough into 4 portions and roll onto floured surface into a sausage shape.", "Cut the each sausage into 11/4-inch diamond shape pieces.", "Cook in the oven till set and pale in color.", "Meanwhile for sugar syrup in a pan, cook 1 C. of sugar, 2 C. of water and half of a lime for about 10 minutes.", "Remove from heat and cool slightly.", "In a shallow dish, place icing sugar.", "Remove the cookies from oven and let them cool slightly.", "Dip the each diamond, one by one in the syrup and hold with a fork to discard excess syrup.", "Then roll the diamond in icing sugar and keep aside.", "After 5 minutes again roll into icing sugar." ], "author": null }
- Assistant
{ "data": "TN" }