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": "Dried fruit", "description": "This dried fruit condiment can be served warm or at room temperature.", "subtitle": "condiment", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "8 dried apricots", "8 dates", "4 dried figs", "1 unwaxed orange", "2 oranges required in total for recipe", "1 tablespoon of honey", "1 teaspoon of cumin seeds", "6 saffron threads", "5 tablespoons of white balsamic vinegar" ] } ], "instructions": [ "Chop 8 dried apricots, 8 dates and 4 dried figs into tiny dice (brunoise).", "With a vegetable peeler, cut off the zest of 1 unwaxed orange (2 oranges required in total for recipe). Immerse the zest in boiling water for 2 minutes, drain in a sieve and cool immediately under the tap.", "Cut into the finest possible slivers (julienne) and set aside.", "Squeeze the juice of the orange, pour it into a small saucepan and bring to a boil. Then add the dried fruit brunoise and mix.", "Take the saucepan off the heat and allow the mixture to swell for approximately 5 minutes.", "Pour 1 tablespoon of honey into a small sauté pan and heat until it takes on the appearance of a pale caramel.", "Squeeze the juice of a second orange and pour it onto the honey.", "Stir well and bring to a boil.", "Add the contents of the pan of dried fruit and simmer for 5 to 6 minutes.", "In the meantime, lightly crush 1 teaspoon of cumin seeds and set aside on a saucer.", "Add this at the end of cooking along with 6 saffron threads, 5 tablespoons of white balsamic vinegar and the julienne of orange zest.", "Mix and then transfer to a bowl.", "Cover with cling film and set aside." ], "author": "" }
- Assistant
{ "data": "WWW" }