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": "Curried Cauliflower Frittata", "description": "Cauliflower and curry just love each other. It's very important that you cut the cauliflower very small so that the frittata holds together, so thinly slice the stems and make sure that the florets are no more than ½ inch long. Depending on the spiciness of your curry powder, you might want to start with a little less than 2 tablespoons and work your way up.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 tablespoon peanut oil", "2 cups finely chopped cauliflower", "4 garlic cloves, minced", "1 pound firm or extra-firm tofu", "1 tablespoon soy sauce", "1 tablespoon fresh lemon juice, from about half a lemon", "2 tablespoons curry powder", "½ teaspoon ground cumin", "1/4 cup nutritional yeast", "1 small carrot, peeled and grated", "1/4 teaspoon salt, or to taste", "Lemon to taste" ] } ], "instructions": [ "Preheat the oven to 400°F.", "Preheat a large, heavy-bottomed pan over medium-high heat.", "Sauté the cauliflower in oil for about 10 minutes, until softened and lightly browned.", "Add splashes of water if it starts to appear dry.", "Add the garlic and sauté another minute.", "Now prepare your frittata base.", "Give the tofu a squeeze over the sink to remove some of the water.", "Use your hands to crumble and squeeze it in a large mixing bowl, until it has the consistency of ricotta cheese (about 3 minutes).", "Add the remaining ingredients to the tofu and mix well.", "You can grate the carrot directly into the mixture with a box grater.", "When your cauliflower is ready, incorporate it into the tofu.", "Be sure to get all of the garlic.", "Taste for salt, lemon, and seasoning.", "Lightly grease an 8-inch pie plate and firmly press your frittata mixture into it.", "Bake for 20 minutes, until the frittata is firm and lightly browned on top.", "Let cool for about 3 minutes, then invert onto a plate and serve." ], "author": null }
- Assistantjson
{ "data": "WWW" }