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": "Chai Cream", "description": "For this creamy creation, use a cheese grater or a vegetable peeler to shave semisweet chocolate from a solid bar.", "subtitle": "Sweet Endings and Desserts", "ingredients": [ { "section": "For the recipe", "ingredients": [ "5 1/2 cups heavy whipping cream", "1 vanilla bean, split lengthwise and scraped, seeds reserved", "1 cup sugar", "1-ounce envelope powdered gelatin", "2 teaspoons black chai tea, ground in a coffee or spice grinder", "1 cinnamon stick", "6 green cardamom pods", "6 whole black peppercorns", "1 tablespoon powdered sugar", "1 tablespoon semisweet chocolate shavings" ] } ], "instructions": [ "Combine 5 cups of cream, vanilla bean seeds, and sugar in a medium saucepan over medium-high heat.", "Bring to a simmer, stirring occasionally.", "Place 1/3 cup cream in a small bowl and add powdered gelatin.", "Stir to mix.", "When cream-sugar mixture comes to a simmer, immediately remove from heat and add cream-gelatin mixture, stirring well until gelatin is completely dissolved.", "Add tea, cinnamon, cardamom pods, and peppercorns.", "Let mixture steep for 10 minutes, stirring occasionally.", "Pour mixture into a metal bowl set in a larger bowl of ice water.", "Cover with plastic wrap, and let steep and cool for 30 minutes.", "Pour mixture through a fine-mesh sieve into a clean bowl.", "Freeze for 20 minutes, or until mixture starts to thicken.", "(This additional cooling allows gelatin to set slightly so specks of tea remain in suspension instead of falling to bottom of glasses.)", "Divide mixture evenly among 8 (5-ounce) glasses or ramekins, and refrigerate for at least 4 hours before serving.", "Before serving, combine remaining 1/2 cup cream and powdered sugar in a large bowl.", "Whip with an electric mixer until stiff peaks form.", "Dollop whipped cream onto each glass, then sprinkle with semisweet chocolate shavings.", "Serve immediately." ], "author": null }
- Assistant
{ "data": "WWW" }