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": "DUQQA", "description": null, "subtitle": "Similar to za'atar, duqqa is also a condiment eaten with olive oil and bread or used to spice other foods. It originated in Egypt but is now famously made in Gaza in a different and uniquely Palestinian way.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1½ cups (6 oz/180 g) unhulled sesame seeds", "1 cup (5½ oz/160 g) whole wheat berries (whole or unhulled)", "2 tablespoons coriander seeds", "2 tablespoons cumin seeds", "2 tablespoons dill seeds", "2 tablespoons sumac", "2 teaspoons salt", "1 teaspoon hot chilli powder (optional)" ] } ], "instructions": [ "Dry roast the sesame seeds in a large skillet (frying pan) over medium-low heat, stirring regularly, for 7-10 minutes, or until golden brown.", "Set aside on a large tray to cool.", "Meanwhile, place the whole wheat berries in the same pan and roast for about 15 minutes, stirring regularly, until a dark golden brown.", "Set aside on a separate platter to cool.", "Add the coriander, cumin, and dill seeds to the same pan and roast, stirring frequently, until fragrant, about 3 minutes.", "Pour over the roasted wheat then make sure you leave to cool completely.", "Once cooled, place one-third of the toasted sesame seeds along with the roasted wheat, spices, sumac, salt, and chilli powder, if using, into a spice grinder and grind to a powder.", "Pour into a large bowl, add the remaining sesame seeds, and mix well with a spoon until combined.", "This will keep in an airtight container at room temperature for several months." ], "author": null }
- Assistantjson
{ "data": "EG" }