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": "Seasonal Vegetable Potpie with Herbed Biscuit Topping", "description": "This savory potpie was a popular meal in the charming Liberty Tree Tavern. This vegan dish is topped with a signature flour biscuit flavored with fresh basil, thyme, and rosemary.", "subtitle": "Mains and Sides", "ingredients": [ { "section": "FOR VEGETABLE FILLING", "ingredients": [ "4 tablespoons extra-virgin olive oil, divided", "3 tablespoons all-purpose flour", "2 cups vegetable stock", "1/2 teaspoons finely chopped fresh dill", "1/2 teaspoons finely chopped fresh sage leaves", "1 teaspoon fresh thyme leaves", "1 medium onion, finely chopped", "2 cloves garlic, finely chopped", "2 stalks celery, thickly sliced", "2 peeled carrots, thickly sliced", "1 zucchini, quartered lengthwise and cut into 1/2-inch pieces", "1 yellow squash, quartered lengthwise and cut into 1/2-inch pieces", "1 cup green beans, trimmed to 1/2-inch pieces", "1 cup peas (can be frozen)", "2 cups cooked navy beans (can be canned)", "coarse salt and freshly ground black pepper, to taste" ] } ], "instructions": [ "Preheat oven to 350°F.", "Combine 3 tablespoons olive oil and flour in a medium saucepan.", "Cook over medium-high heat, whisking constantly, until mixture begins to bubble and starts to thicken, and coat the bottom of the pan, about 5 minutes.", "Be careful not to let the flour burn.", "When flour mixture begins to thicken, stir in vegetable stock and whisk until mixture is smooth.", "Bring to a boil and then reduce to a simmer.", "Cook, stirring occasionally, until mixture is thickened to a gravy-like consistency, about 10 to 12 minutes.", "Add dill, sage, and thyme leaves.", "Stir well to combine and season to taste.", "Remove from heat and set aside.", "Heat remaining 1 tablespoon of olive oil over medium-high heat in a large skillet.", "Add onion, garlic, celery, and carrot and cook until onion is beginning to soften and is translucent, about 3 to 5 minutes.", "Add zucchini, yellow squash, and green beans.", "Cook, stirring frequently, until beginning to soften, about 3 to 5 minutes.", "Add peas, navy beans, and reserved thickened vegetable broth.", "Stir all together until well combined.", "Remove from heat.", "Let cool slightly and transfer to a 9 x 13-inch baking dish.", "Set aside." ], "author": null }
- Assistant
{ "data": "WWW" }