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": "SAWEEYAH BIL HALEEB", "description": "This delicate dessert of tender noodles simmered in a subtly sweet milk infused with rose water and cardamom is South Asian in origin but is now popular in Oman, especially in the diverse capital city of Muscat. It is delicious served warm or cold.", "subtitle": "(VERMICELLI IN ROSE WATER-CARDAMOM MILK)", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 cup Middle Eastern-style dried vermicelli (short broken pieces, or use Goya broken angel hair pasta)", "4 cups milk", "¼ to ½ cup sugar", "1 teaspoon ground cardamom", "¼ teaspoon rose water", "Finely chopped toasted pistachios or almonds, for garnish (optional)" ] } ], "instructions": [ "Bring several cups of water to a boil in a medium saucepan and cook the vermicelli until al dente, 2 to 3 minutes, checking after 2 minutes to ensure the pasta doesn't overcook.", "Drain immediately, and rinse quickly in cold water.", "Bring the milk to a simmer in a medium saucepan over medium-high heat.", "Add the sugar and simmer gently 6 to 7 minutes, whisking so the milk doesn't burn.", "Whisk in the cardamom and rose water, let cook 1 minute, then stir in the vermicelli and turn off the heat.", "Serve warm or cold and garnish with nuts." ], "author": "" }
- Assistant
{ "data": "OM" }