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": "Ginger Beer Mimosa with Rosemary and Orange Syrup", "description": "This cocktail perfectly combines three very distinct flavours: the sharpness of ginger beer, the smokiness of rosemary, and the sweetness of orange syrup.", "subtitle": null, "ingredients": [ { "section": "Rosemary and Orange Syrup", "ingredients": [ "1 sprig fresh rosemary", "1 teaspoon (5 mL) canola oil", "1/4 teaspoon (1 mL) salt", "2 oranges", "1 teaspoon (5 mL) grated fresh ginger", "¼ cup (60 mL) white sugar" ] }, { "section": "The Mimosa", "ingredients": [ "4 ounces (125 mL) Prosecco", "2 ounces (60 mL) ginger beer", "1 sprig fresh rosemary, for garnish" ] } ], "instructions": [ "Set the oven to broil.", "Drizzle the rosemary sprig with the oil and sprinkle with salt.", "Place it on a baking sheet and roast for 1 minute, or until the oil is hot and the aromatics of the rosemary have been released.", "Wait for the rosemary to cool, then remove the leaves and roughly chop.", "Peel half of 1 orange and finely dice the rind.", "Juice both oranges and add the juice to a small saucepan.", "Bring to a simmer over medium-low heat.", "Add the diced orange rind, chopped rosemary, grated ginger, and sugar.", "Stir until the sugar has dissolved, then bring to a boil and remove from the heat.", "The liquid will have evaporated, leaving a sugary syrup behind.", "Leave the syrup to cool.", "Pour 1/2 ounce (15 mL) of the Rosemary and Orange Syrup into a champagne flute.", "Top with Prosecco and ginger beer.", "Lay the rosemary sprig in your palm and give it a high five to release the natural aromas.", "Place it in the champagne flute to garnish." ], "author": null }
- Assistantjson
{ "data": "IT" }