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": "Creamy Mushrooms on Toast Waffles", "description": "Turns out mushrooms on toast is exactly what it sounds like: mushrooms on toast. But when executed perfectly, this simple dish can truly hit the spot. This recipe takes it up a notch with a savory toast waffle base, made by throwing torn bread into a waffle iron! The waffle's indents perfectly hold the creamy mushroom sauce, infused with Gorgonzola, wine, and fresh thyme. Topped with a fried egg, this dish offers a delightful mix of textures and flavors.", "subtitle": null, "ingredients": [ { "section": "Creamy Mushrooms", "ingredients": [ "½ cup (125 mL) unsalted butter, divided", "1 clove garlic, minced", "Juice of 1 lemon", "8 ounces (225 g) button mushrooms, sliced in half", "1 teaspoon (5 mL) finely chopped fresh thyme", "1 teaspoon (5 mL) salt", "½ teaspoon (2 mL) black pepper", "½ cup (125 mL) red wine (Pinot Noir or Cabernet Sauvignon)", "2 tablespoons (30 mL) creamy Gorgonzola cheese" ] }, { "section": "Toast Waffles", "ingredients": [ "2 cups (500 mL) light rye bread torn into ¼-inch (5 mm) pieces", "2 cups (500 mL) challah bread torn into ¼-inch (5 mm) pieces", "3 large eggs, lightly beaten", "1/4 cup (60 mL) 2% milk", "½ teaspoon (2 mL) salt" ] }, { "section": "For Serving", "ingredients": [ "1 tablespoon (15 mL) canola oil", "2 large eggs", "Thyme leaves, for garnish" ] } ], "instructions": [ "SHROOMIES", "Melt 1/4 cup (60 mL) butter in a medium saucepan over medium-high heat. Add the garlic and lemon juice and sauté for 3 minutes.", "Add the mushrooms, thyme, salt, pepper, and the remaining 1/4 cup (60 mL) butter and stir to mix, allowing the butter to melt.", "Turn the heat down to medium and stir in the wine and Gorgonzola.", "Simmer for 5 minutes, or until reduced by a quarter. Remove from the heat and keep warm.", "TOAST WAFFLE", "Preheat a non-stick waffle iron. In a large bowl combine the rye bread, challah, eggs, milk, and salt. Use your hands to mix the ingredients to form something doughish: moist but not soggy, pliable but still visibly torn-up bread.", "Ladle half the mixture into the waffle iron and cook for 4 minutes, or until golden brown and no longer moist. If you lift the lid slightly and the waffle starts to break apart, keep baking for another minute or so.", "Repeat with the remaining mixture to make a second waffle.", "IT'S NOT BRUNCH WITHOUT AN EGG", "In a small frying pan, heat the canola oil over medium-high heat. Crack the eggs into the pan and turn the heat down to medium. Cook the eggs sunny side up for about 5 minutes.", "To assemble, place a Toast Waffle on each plate and top with the Creamy Mushrooms and a sunny-side-up egg. Garnish with fresh thyme." ], "author": null }
- Assistantjson
{ "data": "FR" }