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": "Mickey's Candy Corn Sugar Cookies", "description": "These sugar cookies made to look like candy corn are really a special treat. They have a delicious cinnamon and nutmeg flavour and are not so scary.", "subtitle": "These sugar cookies made to look like candy corn are really a special treat. They have a delicious cinnamon and nutmeg flavour and are not so scary.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 cup of sweet cream butter, softened", "1½ cups powdered sugar", "1 teaspoon vanilla", "½ teaspoon cinnamon", "½ teaspoon nutmeg", "1 egg", "3 cups flour", "1 teaspoon baking soda", "1 teaspoon cream of tartar", "Yellow Decorating Icing", "Orange Decorating Icing", "White Decorating Icing", "Mickey Head Cookie Cutter" ] } ], "instructions": [ "Preheat the oven to 350 degrees F. Line a cookie sheet with parchment paper.", "Cream together butter and sugar until light and creamy. Beat in egg and vanilla. In another bowl, whisk together flour, baking soda and cream of tartar. Gradually mix in dry ingredients to butter mixture.", "Use your hands to form the mixture into a dough on a lightly floured surface. Roll out doubt o about 1/2 inch thick and cut out 12 mickey heads using your cookie cutter.", "Place on the parchment lined baking sheet and bake for 8 minutes until lightly golden brown. Allow to cool completely.", "Use orange icing the fill in the middle of the cookie, white the upper third and yellow the lower third. You can alternate which colours you use at each third. Once complete, allow to dry completely, about 6 - 8 hours." ], "author": "" }
- Assistant
{ "data": "WNA" }