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": "Mushroom, Leek, and White Bean Pie", "description": "This pie was inspired by my need for a tofu-less quiche. It has a comforting Thanksgiving taste that is perfect for autumn mornings. Serve with Roasted Root Vegetables (page 145) to seal the deal.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 pound cremini mushrooms", "2 tablespoons olive oil", "3 cups thickly sliced leeks (white and green parts)", "3 garlic cloves, chopped", "Heaping tablespoon chopped fresh thyme", "Fresh black pepper", "1 cup shelled walnuts", "1 fifteen-ounce can cannellini beans (1½ cups cooked), drained and rinsed", "1 to 2 tablespoons water", "2 tablespoons cornstarch", "3/4 teaspoon salt", "A few sprigs of thyme for decoration", "1 nine-inch pie crust, store-bought or homemade (see Basic Pastry Crust, page 47)" ] } ], "instructions": [ "Preheat the oven to 350°F.", "Thinly slice 4 mushrooms and set them aside. They'll be used to decorate the top of the pie.", "Roughly chop the remainder of the mushrooms.", "Preheat a large, heavy-bottomed skillet over medium heat.", "Sauté the leeks in the olive oil for about 3 minutes.", "Add the mushrooms and sauté for about 7 minutes more, until the moisture has released and they're nice and soft.", "Add the garlic, thyme, and pepper; sauté for another minute; then remove from heat.", "Your oven should be preheated by now, so poke the bottom of the pie crust with a fork about five times to prevent it from puffing up, then bake for 10 minutes and remove from oven.", "Now, prepare the filling.", "Pulse the walnuts in a food processor until fine crumbs form.", "Add the beans and a tablespoon of water and blend. If the beans aren't blending easily, add another tablespoon of water.", "Add the cornstarch and salt. Blend until the cornstarch isn't visible.", "Add the leek mixture to the food processor.", "Use a spoon to mix it into the beans before you start processing. You're going to be pulsing the mixture up but not completely blending it in, so it's important to incorporate it beforehand.", "Now pulse a few times, so that the leeks and mushrooms are still visible, but chopped into small bits.", "Spoon the filling into the prebaked crust, smoothing the top with the back of a spoon.", "Press the reserved mushroom slices into the perimeter of the quiche and press a few sprigs of thyme down the center.", "Bake for 40 minutes.", "Let cool for at least 30 minutes before serving. This quiche tastes great at room temperature." ], "author": null }
- Assistantjson
{ "data": "WWW" }