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 Franken-Donuts", "description": "Mickey, as Frankenstein's monster, may be cuter than it is scary. Okay, I admit, maybe a little scary but these donuts are so cute for your next Halloween binge. They're well worth making them.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "15 plain donuts", "4 cups powdered sugar", "1 tablespoon light corn syrup", "1/4 cup milk", "½ teaspoon clear vanilla extract", "Green gel food colouring", "Black gel food colouring", "30 black candy melts" ] } ], "instructions": [ "Beat together powdered sugar, corn syrup, milk and vanilla until smooth and thick. Divide the mixture into 3/4 and 1/4 and add to separate bowls.", "In the 3/4 bowl, add a few drops of green food colouring, the 4 bowl add a few drops of black food colouring. Scoop the icing into their own piping bags.", "Use a paring knife to cut slits into the top corners of each donut and place a candy melt in each to represent Mickey's ears.", "Use the black icing to draw Mickey's hair, make it look like it's dripping. Cover the rest of the donut with the green frosting.", "Allow to dry for an hour before serving." ], "author": null }
- Assistantjson
{ "data": "WWW" }