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": "Mickey Mouse Lantern Cookies", "description": "", "subtitle": "These sweet sugar cookies are covered with delicious vanilla icing. Decorated to look like Mickey Mouse Jack O\nLanterns filled with candy. Perfect for your kids' Halloween get together.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 cup of sweet cream butter, softened", "1 ½ cups powdered sugar", "1 teaspoon vanilla", "1 egg", "3 cups flour", "1 teaspoon baking soda", "1 teaspoon cream of tartar", "Black Decorating Icing", "Orange Decorating Icing", "White Decorating Icing", "Halloween sprinkles", "Mickey Head Cookie Cutter" ] } ], "instructions": [ "1. Preheat the oven to 350 degrees F. Line a cookie sheet with parchment paper.", "2. Cream together butter and sugar until light and creamy. Beat in egg and vanilla. In another bowl, whisk together\nflour, baking soda and cream of tartar. Gradually mix in dry ingredients to butter mixture.", "3. Use your hands to form the mixture into a dough on a lightly floured surface. Roll out doubt o about ½ inch thick and\ncut out 12 mickey heads using your cookie cutter.", "4. Place on the parchment lined baking sheet and bake for 8 minutes until lightly golden brown. Allow to cool\ncompletely.", "5. Use the black icing to outline Mickey's ears. Use the orange icing to outline Mickey's face and fill in half way.\nleaving a crescent shaped top to mimic the opening of a jack o lantern. Allow to dry completely, about 6 hours.", "6. Use the white ceiling to fill in space above the orange icing and sprinkle with Halloween sprinkles to create a filled\nwith candy look." ], "author": "" }
- Assistantjson
{ "data": "WWW" }