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": "Cauliflower Yassa with Olives", "description": "A vegan take on the traditional Senegalese Yassa dish, typically made with chicken or fish. This version uses cauliflower, which provides a lovely, dense texture as a substitute. Serve it with white rice or Atassi (Beninese Rice and Beans).", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "Juice of 1 lemon", "2 tablespoons mustard", "2 garlic cloves, minced", "1 teaspoon freshly grated ginger", "Salt", "Black pepper", "1 large cauliflower, chopped", "6 medium onions, thinly sliced", "½ cup (65 g) green olives, pitted", "3 tablespoons olive oil", "1 bunch parsley, chopped", "1 tablespoon coconut sugar", "2 bay leaves" ] } ], "instructions": [ "Mix the lemon juice, mustard, garlic, ginger, salt, and pepper in a large bowl.", "Add the cauliflower, onions, and olives, and toss to coat.", "Let marinate for at least one hour (or overnight in the refrigerator if you prefer).", "Remove the cauliflower from the bowl and set aside.", "Heat 2 tablespoons of the oil in a nonstick skillet over medium heat.", "Add the onions and marinade mixture and cook until translucent, about 5 minutes.", "Add the parsley, sugar, and bay leaves, and mix well.", "Add 3 tablespoons water.", "cover, and let simmer until the onions have softened, 10 to 15 minutes.", "Heat the remaining 1 tablespoon of oil in a frying pan over medium-high heat.", "Add the cauliflower and cook until tender and golden brown, 15 minutes.", "Stir the cauliflower into the onion mixture.", "Adjust the salt and pepper to taste and eat while hot." ], "author": null }
- Assistant
{ "data": "SN" }