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": "Marak Samak", "description": "In the ancient ship-building town of Sur, this peppery tomato and tuna marak, shared by Sulaf Al Rasbi, the first professional female chef in town, is a wonderful dish. Enjoy it with Sur's specialty, crisp Muradef fennel bread, or with steamed basmati rice.", "subtitle": "Sur-Style Peppery Fish Steak Tomato Curry", "ingredients": [ { "section": "For the recipe", "ingredients": [ "¼ cup ghee", "2 medium red onions, minced", "6 cloves garlic, mashed into a paste", "2 tablespoons tomato paste", "3 plum tomatoes, cored and minced", "1 green bell pepper, seeded and roughly chopped", "1 serrano chile, halved lengthwise, seeded with stem attached", "1 teaspoon kosher salt", "1½ teaspoons ground cumin", "½ teaspoon ground black pepper", "½ teaspoon ground cinnamon", "¼ teaspoon cayenne", "1½ pounds tuna or swordfish steaks, skin and bones removed, cut into 1½- to 2-inch pieces", "1 lime, halved" ] } ], "instructions": [ "Melt the ghee in a medium pot or saucepan over medium heat.", "Sauté the onions until slightly caramelized, about 15 minutes.", "Add the garlic paste and cook for a few minutes, then stir in the tomato paste, tomatoes, bell pepper, and chile.", "Cook 15 minutes; then add the salt, cumin, black pepper, cinnamon, and cayenne.", "Stir and cook another minute or two.", "Pour in 1 cup water and bring to a simmer.", "Add the fish and stir gently to mix, being careful not to break up any pieces.", "Simmer, uncovered, until the fish is cooked through, about 10 minutes.", "Squeeze a lime half (or the whole lime if it's not particularly juicy) into the pot, stir gently, and remove from the heat.", "Cover and let sit 5 minutes before serving.", "Serve with basmati rice or flatbread, like Muradef." ], "author": "Sulaf Al Rasbi" }
- Assistantjson
{ "data": "OM" }