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": "Tequila Espresso Martini", "description": "An intriguing flavor pairing, this mocktail combines the rich, bold flavors of coffee with the earthiness of the tequila alternative. It achieves a harmonious balance between the smoothness of espresso and fieriness of tequila alternative. To round out the flavors, citrus oils from orange peels are incorporated to brighten up the drink.", "subtitle": "An intriguing flavor pairing, this mocktail combines the rich, bold flavors of coffee with the earthiness of the tequila alternative.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 ounces tequila alternative", "1 1/2 ounces Nonalcoholic Coffee Liqueur (see recipe in Chapter 1)", "1 1/2 ounces chilled espresso", "1/2 ounce Simple Syrup (see recipe in Chapter 1)", "2 pieces orange peel, divided" ] } ], "instructions": [ "Place a coupe glass in the freezer, allowing it to chill while you prepare the drink.", "In a cocktail shaker, combine tequila alternative, coffee liqueur, espresso, and Simple Syrup.", "Drop 1 orange peel into the shaker.", "Add large cubes of ice, cover the shaker, and regal shake vigorously 10-12 seconds.", "Regal shaking (see Chapter 1) incorporates the citrus oils and slight bitterness from the pith into the drink. This step also allows the natural oils from the espresso to produce a nice foam.", "Using a fine-mesh strainer, double-strain the mixture into the chilled coupe glass.", "Use second orange peel to express some citrus oils on top of the drink by squeezing the pith side of the peel toward the top of the drink so the oils spray into it. This gives a nice aroma while the mocktail is sipped.", "Finally, garnish with the same orange peel, either placed on the rim of the glass or dropped into the drink." ], "author": "" }
- Assistant
{ "data": "WWW" }