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": "Tempeh Sausage Pastry Puffs", "description": "Cute little squares that are both flaky and hearty. They'd make a good main event with some greens and gravy, or a fun brunch starter if you have a bunch of people over. The fennel and herb tempeh is reminiscent of the winter holidays, making these the perfect choice for a Thanksgiving brunch.", "subtitle": "Makes 18 pastries", "ingredients": [ { "section": "For the marinade", "ingredients": [ "1 cup vegetable broth", "3 tablespoons soy sauce", "2 tablespoons lemon juice" ] }, { "section": "For everything else", "ingredients": [ "8 ounces tempeh, crumbled", "1 package puff pastry (Pepperidge Farm brand is vegan), thawed", "2 tablespoons olive oil", "1 red bell pepper, finely chopped", "1 small onion, finely chopped", "3 garlic cloves, minced", "2 teaspoons fennel seeds, chopped", "2 teaspoons dried thyme", "2 teaspoons dried rosemary", "½ teaspoon red pepper flakes", "Salt, to taste", "Olive oil for brushing the pastry" ] } ], "instructions": [ "Whisk the marinade ingredients together in a small mixing bowl.", "Add the tempeh and let marinate for an hour.", "When the hour is almost up, preheat a large pan over medium heat.", "Sauté the red bell pepper and onion in the oil for 7 to 10 minutes, until the onion is translucent.", "Add garlic and spices and sauté another 3 minutes.", "Drain the marinated tempeh and add it to the pan.", "Turn the heat up to medium high and cook for about 15 minutes, stirring often.", "In the meantime, preheat the oven to 400°F and start preparing your puff pastries.", "Pour a little olive oil into a cup and brush a large baking sheet with olive oil.", "Cut each pastry sheet into nine squares and set them on the baking sheet at least an inch apart.", "Brush the tops of the pastries with olive oil.", "When the tempeh is ready, taste for salt and remove from heat.", "Top each pastry right in the middle with a heaping tablespoon of tempeh.", "Bake for 18 to 20 minutes, until the pastries are nice and puffed.", "Serve ASAP." ], "author": null }
- Assistantjson
{ "data": "WWW" }