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": "AD DAKHILIYAH DATE-LIME REFRESHMENT", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 cups boiling water", "1 cup packed pitted dried dates (about 12 large high-quality Medjools or 30 medium to small dates)", "½ cup freshly squeezed lime juice", "1/4 cup cold water" ] } ], "instructions": [ "Pour the boiling water over the dates in a medium bowl; cover with plastic wrap and let the dates soak until cool and soft, at least 3 hours or up to overnight.", "Mash the dates by hand in the water, squeezing each date to break it up as much as possible.", "Strain the liquid through a fine-mesh sieve over a bowl, a little at a time, mashing and scraping the date pulp firmly with a wooden spoon to extract as much juice as possible. This should take a few minutes.", "Scrape the pulp from the underside of the sieve into the bowl, and discard any date pulp in the sieve.", "Stir in the lime juice and cold water, adding more water to taste, if desired.", "Serve chilled or over ice." ], "author": null }
- Assistant
{ "data": "OM" }