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": "Roasted Beets with Grapefruit-Thyme Vinaigrette", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "4 medium beets", "3/4 cup plus 2 tablespoons extra-virgin olive oil", "1/4 cup grapefruit juice", "2 cloves garlic, minced", "2 teaspoons mustard powder", "2 teaspoons fresh thyme", "1 teaspoon salt", "1/2 teaspoon black pepper", "1 package (about 5 ounces) arugula", "1/4 cup slivered or sliced almonds" ] } ], "instructions": [ "PREHEAT the oven to 425°F.", "RINSE the beets thoroughly and carefully stab all sides with a fork.", "Place in a medium bowl and add 2 tablespoons of the olive oil, tossing or mixing to thoroughly coat.", "Wrap each of the oiled beets separately in aluminum foil, pinching the tops closed.", "Place the beets in the center of a baking sheet and roast for 40 minutes.", "Check the beets by carefully opening the foil and sticking a thin knife into the center of a beet. If it goes in easily, the beets are done. If there's resistance, close it back up and put the beets back into the oven for 5 minutes. Repeat until they're done.", "WHILE the beets are roasting, prepare the vinaigrette. Whisk the grapefruit juice, garlic, and mustard powder together in a small mixing bowl.", "Add the remaining 3/4 cup of olive oil in a steady stream while whisking to emulsify.", "Add the thyme and season with the salt and pepper.", "LET the beets cool until you're able to handle them.", "Remove the skin from each beet-you may want to wear gloves, as beet juice will stain skin.", "Dice the beets into 1-inch pieces and place in a glass storage container with a lid.", "Refrigerate for at least 30 minutes to chill before serving.", "PLACE the arugula in a serving bowl, add the beets and slivered almonds, and dress with the vinaigrette." ], "author": null }
- Assistant
{ "data": "WWW" }