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": "Ginger Bee", "description": "Its combination of honey and citrus produces a delicious-tasting drink. The subtle tingling sensation from the ginger ale also adds a layer of fizzy texture to round out the drink.", "subtitle": "This mocktail can only be described as "soothing."", "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 ounces light rum alternative", "1/2 ounce lime juice", "1/2 ounce Honey Syrup (see recipe in Chapter 1)", "4 ounces ginger ale", "1 lime "rose" for garnish (see instructions in Chapter 1)" ] } ], "instructions": [ "In a cocktail shaker, add rum alternative, lime juice, and Honey Syrup.", "Add large cubes of ice, cover the shaker, and shake vigorously 12-15 seconds or until the exterior of the shaker becomes visibly frosty. This step makes sure that the Honey Syrup is well incorporated with the rest of the ingredients, which can be tricky.", "Fill a Collins glass or a highball glass % full with ice cubes.", "Strain the mixture into the glass.", "Top with ginger ale then give it a light stir to combine.", "Garnish with lime rose, add a nice straw, and enjoy." ], "author": "" }
- Assistant
{ "data": "WWW" }