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": "Buckwheat Waffles with Red Wine Tarragon Mushroom Gravy", "description": "Waffles are the perfect vehicle for sauce, with their little pockets ready and waiting. Reminiscent of the quintessential Russian dish buckwheat blini, this is one of my favorite ways to enjoy buckwheat waffles-absolutely smothered with rich, silky mushroom gravy.", "subtitle": null, "ingredients": [ { "section": "For the gravy", "ingredients": [ "2 tablespoons olive oil", "1½ cups thinly sliced shallots", "3 garlic cloves, minced", "1 pound cremini mushrooms, thinly sliced", "Several dashes black pepper", "1/2 cup dry red cooking wine", "1/2 teaspoon salt", "2 cups cold vegetable broth", "1/3 cup all-purpose flour", "2 tablespoons chopped fresh tarragon", "1 tablespoon chopped fresh thyme, plus additional for garnish" ] }, { "section": "For serving", "ingredients": [ "1 recipe Buckwheat Waffles, savory variation (page 93)" ] } ], "instructions": [ "Preheat a large pan over medium heat.", "Sauté the shallots in oil for 5 to 7 minutes, until lightly browned.", "Add the garlic and sauté for a minute more.", "Mix in the mushrooms, add pepper, and sauté for about 5 more minutes, until mushrooms are softened.", "Add the red wine and salt and turn heat up to high.", "Let wine reduce for about 5 minutes, stirring often.", "Meanwhile, measure out the vegetable broth and mix in the flour.", "Stir well until few lumps are left.", "When the wine has reduced, lower the heat back to medium and pour in the vegetable broth mixture.", "Mix in the herbs.", "Stir often for about 15 more minutes; the gravy should be thick and creamy.", "TO ASSEMBLE", "For round waffles, cut into quarters and place on plate all pointing in the same direction.", "Pour gravy over the top and garnish with fresh thyme." ], "author": null }
- Assistant
{ "data": "RU" }