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": "Muhammara", "description": "When Bilad Al Sham (The Levant) was a single territory, there was not a clear delineation between Syria, Palestine, and Lebanon and people moved about and inter-married freely. So in the late 1800s, my Teta Asma's grandmother moved to Palestine from Syria as a bride. Along with her beautiful bridal trunk, she also brought many of her family's recipes. Muhamarra was one of them. And although Syrian in origin, it has found its way into the food of certain regions in Palestine. Sweet and tart, crunchy and smooth, this recipe is perfect on its own, with bread, and even as a sauce with grilled meats.", "subtitle": "محمره", "ingredients": [ { "section": "For the recipe", "ingredients": [ "5 oz/150 g (about 1 large) roasted red bell pepper (see Notes)", "4 tablespoons olive oil, plus extra for drizzling", "4 tablespoons pomegranate molasses", "1 tablespoon honey", "1 tablespoon tahini", "2 teaspoons chilli powder (see Notes)", "1 teaspoon paprika", "1/4 teaspoon ground cumin", "½ teaspoon salt", "¼ teaspoon finely ground coffee (optional, see Notes)", "2 cups (7 oz/200 g) walnut pieces, plus extra for garnish", "1 cup (2 oz/50 g) breadcrumbs" ] } ], "instructions": [ "Put all the ingredients, except the walnuts and breadcrumbs, into the bowl of a food processor and process until smooth.", "Add the walnuts and breadcrumbs and pulse until the walnuts are coarsely chopped. You want this dip to retain some texture and not be smooth, so do not overpulse.", "Transfer the dip to a bowl and mix with a spoon to combine.", "To serve, spread in a platter, drizzle with olive oil, and garnish with walnuts." ], "author": null }
- Assistantjson
{ "data": "SY" }