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": "Mango Parfait", "description": "Misaki is a high school girl who is class president and has a reputation for being strict. She also has a secret part-time job working at a maid café, which her classmate Usui finds out about but promises not to tell anyone. Usui comes to the café often and is a fan of this mango parfait. Let's get layering!", "subtitle": "Misaki's Special Parfait from Maid-Sama", "ingredients": [ { "section": "Layers", "ingredients": [ "2 mangoes, peeled and seeds removed", "½ tablespoon plus 1 teaspoon (optional) sugar, divided", "2 pinches salt, divided", "½ block (4 ounces, or 113 g) cream cheese, at room temperature", "1½ cups (360 ml) heavy whipping cream, divided", "2 teaspoons vanilla extract, divided" ] }, { "section": "For Assembly", "ingredients": [ "½ cup (15 g) cornflakes", "2 generous scoops vanilla ice cream", "2 cherries", "1 large mango, peeled, seed removed, and sliced 1/4 inch (6 mm) thick", "1 small apple, cut into wedges lightly soaked in lemon juice" ] } ], "instructions": [ "To make the layers: Slice the flesh of the 2 mangoes into a blender and blend until smooth.", "Strain the purée in a fine-mesh strainer into a bowl, then mix in 1 teaspoon of the sugar (if using) and pinch of the salt.", "Add the cream cheese to a small bowl and, using a hand mixer with a whisk attachment, whip on high speed until softened, about 1 minute.", "Add ½ cup (120 ml) of the heavy cream, 1 teaspoon of the vanilla, and remaining pinch of salt to the bowl and whip on high speed until creamy, about 2 minutes.", "In a medium bowl, combine the remaining 1 cup (240 ml) heavy cream, remaining ½ tablespoon sugar, and remaining 1 teaspoon vanilla.", "Using the hand mixer with a clean, dry whisk attachment, whip on medium speed, gradually increasing to high speed, until medium-stiff peaks form, about 2 minutes.", "Place in a piping bag with a ½-inch (12 mm) star-shaped tip.", "To assemble: In each parfait glass, place a layer of mango purée, followed by a whipped cream cheese layer, then a layer of cornflakes.", "Top with a scoop of vanilla ice cream, a generous swirl of whipped cream, and a cherry.", "Add mango slices, apple wedges, and more mango purée.", "Serve immediately." ], "author": null }
- Assistantjson
{ "data": "JP" }