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": "ROASTED BEETS", "description": "Beets lend earthy favor and bright color to a bowl, but with raw beets that color can also "bleed," creating an unattractive mess. Luckily, we found\nthat roasting the beets in aluminum foil packets helped to concentrate their favor and also minimized the amount of bleeding of their bright color into\nother bowl ingredients. The distinctively earthy-sweet favor of the roasted beets, along with their vibrant purple-red\ncolor, made them an ideal component in our Rainbow Bowl (this page), but you can also use these beets in a variety of other salad and grain bowls.\nThe recipe can be easily doubled.", "subtitle": "Makes 3 cups, enough for 4 bowls", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 pound beets, trimmed" ] } ], "instructions": [ "Adjust an oven rack to middle position and heat oven to 400 degrees.", "Wrap beets individually in aluminum foil and place on rimmed baking sheet.", "Roast until beets can be easily pierced with paring knife, 45 minutes to 1 hour, removing beets individually from oven as they finish cooking.", "Open foil packets to allow steam to escape and let cool slightly.", "Once beets are cool enough to handle, rub off the skins using paper towels.", "Slice or chop beets as desired and season with salt and pepper to taste.", "(Beets can be refrigerated for up to 1 week.)" ], "author": "" }
- Assistantjson
{ "data": "WWW" }